Thread (1 message) 1 message, 1 author, 2016-06-15

Re: bug report on update-index --assume-unchanged

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:13

Sérgio Basto [off-list ref] writes:
On Sex, 2014-12-05 at 10:30 -0800, Junio C Hamano wrote:
quoted
Your promise is "these paths I will not modify" and in return you
gain performance in "git status"
yeah  so  --assume-unchanged is for administrators of git ,...
Not at all.

Administrators would typically not know (and they would not want to
know) what part of your particular project tree you as an individual
developer is not working on day to day.

This was added primarily by normal users (or as a response to a
request from normal users) on slow filesystems (e.g. Cygwin).  When
they are working on one part of their project tree and know they are
not touching other parts, they wanted to skip slowness of having to
lstat(2) all paths in the project tree to detect what changed during
"git status".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help