summaryrefslogtreecommitdiff
path: root/builtin-count-objects.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-05-30 00:50:26 -0400
committerJunio C Hamano <junkio@cox.net>2007-05-29 22:50:10 -0700
commit7ff895c0d229c2c60b73e91b0c389a4e3ce69e46 (patch)
tree04ea603c5a3bab8424f72d80ac23c768c71ac634 /builtin-count-objects.c
parent1055880e7c096907ac87203dd83fdc6830251115 (diff)
downloadgit-7ff895c0d229c2c60b73e91b0c389a4e3ce69e46.tar.gz
Test for recent rev-parse $abbrev_sha1 regression
My recent patch "Lazily open pack index files on demand" caused a regression in the case of parsing abbreviated SHA-1 object names. Git was unable to translate the abbreviated name into the full name if the object was packed, as the pack .idx files were not opened before being accessed. This is a simple test to repack a repository then test for an abbreviated SHA-1 within the packfile. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-count-objects.c')
0 files changed, 0 insertions, 0 deletions