From: Jay Soffian Date: Thu, 26 Aug 2010 21:34:29 +0000 (-0400) Subject: for-each-ref: fix objectname:short bug X-Git-Tag: v1.7.2.3~10 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ea16a030aaaaebb3d0038e3ec2d9cd837985dee0?hp=ea16a030aaaaebb3d0038e3ec2d9cd837985dee0 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 Acked-by: Jeff King Signed-off-by: Junio C Hamano ---