Re: [PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-09 Thread Sérgio Basto
On Ter, 2014-12-09 at 16:44 -0800, Junio C Hamano wrote: > Sérgio Basto writes: > > > Also don't understand why --assumed-untracked shouldn't deal with > > changed files instead fallback in "the user promises not to change the > > file" and sometimes works others not. > > > > Also if this is th

Re: [PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-09 Thread Junio C Hamano
Sérgio Basto writes: > Also don't understand why --assumed-untracked shouldn't deal with > changed files instead fallback in "the user promises not to change the > file" and sometimes works others not. > > Also if this is the contract when a file is different from commit, > should warning the us

Re: [PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-09 Thread Michael J Gruber
Sérgio Basto schrieb am 09.12.2014 um 04:43: > On Sáb, 2014-12-06 at 15:04 +, Philip Oakley wrote: >> 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 >

Re: [PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-09 Thread Philip Oakley
From: "Philip Oakley" From: "Sérgio Basto" On Sáb, 2014-12-06 at 15:04 +, Philip Oakley wrote: Many users misunderstand the --assume-unchanged contract, believing it means Git won't look at the flagged file. [...] retrospect, so my patch seeks to clarify the existing situation. That is

Re: [PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-09 Thread Philip Oakley
From: "Sérgio Basto" On Sáb, 2014-12-06 at 15:04 +, Philip Oakley wrote: 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 th

Re: [PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-08 Thread Sérgio Basto
On Sáb, 2014-12-06 at 15:04 +, Philip Oakley wrote: > 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 no

[PATCH v2] doc: make clear --assume-unchanged's user contract

2014-12-06 Thread Philip Oakley
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) Mentioni