summaryrefslogtreecommitdiff
path: root/t/t4117-apply-reject.sh
diff options
context:
space:
mode:
authorLibravatar Jens Lehmann <Jens.Lehmann@web.de>2010-03-04 22:20:33 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-04 22:16:33 -0800
commitc7e1a73641e24340bf93f6f1792220fa9154cda3 (patch)
treed414fd7b961223be35decfc3038342d63f2f4223 /t/t4117-apply-reject.sh
parentis_submodule_modified(): clear environment properly (diff)
downloadtgif-c7e1a73641e24340bf93f6f1792220fa9154cda3.tar.xz
git diff --submodule: Show detailed dirty status of submodules
When encountering a dirty submodule while doing "git diff --submodule" print an extra line for new untracked content and another for modified but already tracked content. And if the HEAD of the submodule is equal to the ref diffed against in the superproject, drop the output which would just show the same SHA1s and no commit message headlines. To achieve that, the dirty_submodule bitfield is expanded to two bits. The output of "git status" inside the submodule is parsed to set the according bits. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4117-apply-reject.sh')
0 files changed, 0 insertions, 0 deletions