summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorPhilip Oakley <philipoakley@iee.org>2014-12-06 15:04:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-12-09 22:23:29 (GMT)
commitccadb25f730de775660c82695c5fcf9169f0aae7 (patch)
treeaf704299ad5ee6f5cbe654cbbd2bfa8231ad656a /remote.c
parent9181365b856a63f8c5486ad0fe48f1cd60852da3 (diff)
downloadgit-ccadb25f730de775660c82695c5fcf9169f0aae7.zip
git-ccadb25f730de775660c82695c5fcf9169f0aae7.tar.gz
git-ccadb25f730de775660c82695c5fcf9169f0aae7.tar.bz2
doc: make clear --assume-unchanged's user contract
Many users misunderstand the --assume-unchanged contract, believing it means Git won't look at the flagged file. Be explicit that the --assume-unchanged contract is by the user that they will NOT change the file so that Git does not need to look (and expend, for example, lstat(2) cycles) Mentioning "Git stops checking" does not help the reader, as it is only one possible consequence of what that assumption allows Git to do, but (1) there are things other than "stop checking" that Git can do based on that assumption; and (2) Git is not obliged to stop checking; it merely is allowed to. Also, this is a single flag bit, correct the plural to singular, and the verb, accordingly. Drop the stale and incorrect information about "poor-man's ignore", which is not what this flag bit is about at all. Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions