Commit 77db59c
committed
Merge branch 'jv/pack-objects-narrower-ref-iteration'
The "pack-objects" command needs to iterate over all the tags when
automatic tag following is enabled, but it actually iterated over
all refs and then discarded everything outside "refs/tags/"
hierarchy, which was quite wasteful.
* jv/pack-objects-narrower-ref-iteration:
builtin/pack-objects.c: avoid iterating all refs1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2814 | 2814 | | |
2815 | 2815 | | |
2816 | 2816 | | |
2817 | | - | |
| 2817 | + | |
2818 | 2818 | | |
2819 | 2819 | | |
2820 | 2820 | | |
2821 | | - | |
2822 | | - | |
2823 | | - | |
| 2821 | + | |
2824 | 2822 | | |
2825 | 2823 | | |
2826 | 2824 | | |
| |||
3751 | 3749 | | |
3752 | 3750 | | |
3753 | 3751 | | |
3754 | | - | |
| 3752 | + | |
3755 | 3753 | | |
3756 | 3754 | | |
3757 | 3755 | | |
| |||
0 commit comments