diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2010-08-26 23:34:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-27 01:42:25 +0200 |
commit | ea16a030aaaaebb3d0038e3ec2d9cd837985dee0 (patch) | |
tree | 16a834ed395a18a402613d93ccbfa17d074386c4 /builtin/prune.c | |
parent | tree-walk: Correct bitrotted comment about tree_entry() (diff) | |
download | git-ea16a030aaaaebb3d0038e3ec2d9cd837985dee0.tar.xz git-ea16a030aaaaebb3d0038e3ec2d9cd837985dee0.zip |
for-each-ref: fix objectname:short bug
When objectname:short was introduced, it forgot to copy the result of
find_unique_abbrev. Because the result of find_unique_abbrev is a
pointer to static buffer, this resulted in the same value being
substituted in for each ref.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/prune.c')
0 files changed, 0 insertions, 0 deletions