diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-07-06 21:53:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-06 21:53:11 -0700 |
commit | d5f5d0a9443c3892cdf9665ed8e0f9004706ed65 (patch) | |
tree | d8ee6f246324d911ad44ad98a6d4cf6e6d47a88e /t/t5304-prune.sh | |
parent | xdiff: optimise for no whitespace difference when ignoring whitespace. (diff) | |
download | tgif-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/t5304-prune.sh')
0 files changed, 0 insertions, 0 deletions