summaryrefslogtreecommitdiff
path: root/t/t7502-commit.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-07-06 21:53:11 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-07-06 21:53:11 -0700
commitd5f5d0a9443c3892cdf9665ed8e0f9004706ed65 (patch)
treed8ee6f246324d911ad44ad98a6d4cf6e6d47a88e /t/t7502-commit.sh
parentxdiff: optimise for no whitespace difference when ignoring whitespace. (diff)
downloadtgif-d5f5d0a9443c3892cdf9665ed8e0f9004706ed65.tar.xz
do not write out index when status does not have to
Some codepaths, such as "git status" and "git commit --dry-run", tried to opportunisticly refresh the index and write the result out. But they did so without checking if there was actually any change that needs to be written out. Noticed by Jeff King and Daniel at Rutgers.edu Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7502-commit.sh')
0 files changed, 0 insertions, 0 deletions