Dereference commits in the tag list class, not the load strategy. Fixes #12
author Chris Han
()
committer Chris Han
()
commit 52f723c317eb88fedf47067d0a3ff8cc5bdc93ef
tree ee6432c69b43007ff388e74922e99dee687d6609
parent ac267a9920dbd64d61d6f67d53cea160ae7c67d7
Dereference commits in the tag list class, not the load strategy. Fixes #12

Dereferencing commits in the tag list load strategy is too early. In particular, tags that point to other tags need to reference back into the tag list to get the tag object they point to. When triggering this from the strategy, the tag list hasn’t actually been fully loaded yet, so the tagged tag lookup fails.
include/git/taglist/TagList.class.php
include/git/taglist/TagListLoad_Raw.class.php
comments