summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2007-09-08 10:30:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-09 09:28:57 (GMT)
commit5701115aa7cfe7edd57c2483085456a37e27a5ba (patch)
tree9f7870a1f59c7a789b4d3a8845fb264dcdea940b /show-index.c
parenta51cdb0c0420ee3bef26bbd1a9aa75e1d464e5b7 (diff)
downloadgit-5701115aa7cfe7edd57c2483085456a37e27a5ba.zip
git-5701115aa7cfe7edd57c2483085456a37e27a5ba.tar.gz
git-5701115aa7cfe7edd57c2483085456a37e27a5ba.tar.bz2
git-diff: don't squelch the new SHA1 in submodule diffs
The code to squelch empty diffs introduced by commit fb13227e089f22dc31a3b1624559153821056848 would inadvertently populate filespec "two" of a submodule change using the uninitialized (null) SHA1, thereby replacing the submodule SHA1 by 0{40} in the output. This change teaches diffcore_skip_stat_unmatch to handle submodule changes correctly. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'show-index.c')
0 files changed, 0 insertions, 0 deletions