summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-07-07 04:53:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-07-07 04:53:11 (GMT)
commitd5f5d0a9443c3892cdf9665ed8e0f9004706ed65 (patch)
treed8ee6f246324d911ad44ad98a6d4cf6e6d47a88e /builtin/add.c
parentb4cf0f1784362fb4aa2383d8d5d829caa92ca3a0 (diff)
downloadgit-d5f5d0a9443c3892cdf9665ed8e0f9004706ed65.zip
git-d5f5d0a9443c3892cdf9665ed8e0f9004706ed65.tar.gz
git-d5f5d0a9443c3892cdf9665ed8e0f9004706ed65.tar.bz2
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 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions