Re: [PATCH] git-apply.txt: correct description of --cached
- From
Raymond E. Pasco <ray@ameretat.dev>
- Date
- Aug 12, 2020, 20:52 UTC
- Message-ID
- <C4VBE1MG0QCG.3LQF9NB19E45T@ziyou.local>
- In-Reply-To
- <xmqqzh6z654a.fsf@gitster.c.googlers.com>
On Wed Aug 12, 2020 at 3:23 PM EDT, Junio C Hamano wrote:
Show 5 quoted lines
> An error is raised if the file in the working tree being patched > has contents different from what is registered in the index. > > captures most of it, but still misses the "cached stat information > also must match" part.
As a point of pedantry, it checks the preimages (don't want docs readers to be worried it might somehow touch something and *then* error out).
I'll see if I can think of a succinct wording while I'm updating some of the other patches.