From: Junio C Hamano <gitster@pobox•com>
To: "Sérgio Basto" <sergio@serjux•com>
Cc: Duy Nguyen <pclouds@gmail•com>, Johannes Sixt <j6t@kdbg•org>,
Git Mailing List <git@vger•kernel.org>
Subject: Re: bug report on update-index --assume-unchanged
Date: Fri, 05 Dec 2014 13:52:36 -0800 [thread overview]
Message-ID: <xmqqy4qlojbv.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <1417815590.23238.11.camel@segulix> ("Sérgio Basto"'s message of "Fri, 05 Dec 2014 21:39:50 +0000")
Sérgio Basto <sergio@serjux•com> writes:
> On Sex, 2014-12-05 at 10:30 -0800, Junio C Hamano wrote:
>> 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".
next prev parent reply other threads:[~2014-12-05 21:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 22:42 GIT: ignoring changes in tracked files and bug report Sérgio Basto
2014-12-05 6:12 ` bug report on update-index --assume-unchanged Sérgio Basto
2014-12-05 6:55 ` Johannes Sixt
2014-12-05 10:52 ` Duy Nguyen
2014-12-05 16:57 ` Sérgio Basto
2014-12-05 18:30 ` Junio C Hamano
2014-12-05 20:48 ` Philip Oakley
2014-12-05 21:05 ` Junio C Hamano
2014-12-05 21:55 ` Philip Oakley
2014-12-05 22:18 ` Andreas Schwab
2014-12-06 0:45 ` Sérgio Basto
2014-12-06 13:28 ` Philip Oakley
2014-12-05 21:19 ` Junio C Hamano
2014-12-05 21:39 ` Sérgio Basto
2014-12-05 21:52 ` Junio C Hamano [this message]
2014-12-05 18:33 ` Junio C Hamano
2014-12-05 10:56 ` [PATCH] commit: ignore assume-unchanged files in "commmit <file>" mode Nguyễn Thái Ngọc Duy
2014-12-09 2:44 ` Sérgio Basto
2014-12-11 23:23 ` Philip Oakley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqy4qlojbv.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=j6t@kdbg$(echo .)org \
--cc=pclouds@gmail$(echo .)com \
--cc=sergio@serjux$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox