From: Johannes Schindelin Date: Tue, 05 Feb 2008 22:45:53 GMT Subject: Re: [PATCH 9/9] Build in checkout Message-ID: In-Reply-To: Hi, On Tue, 5 Feb 2008, Daniel Barkalow wrote: > On Tue, 5 Feb 2008, Johannes Schindelin wrote: > > > I suggested that: to prevent the index from needing an update. > > > > This is quite important if you have a large working tree, and switch > > branches from A to B. For example, "make" will punish you where it > > hurts. > > This isn't used for switching branches; this is used for checking out > paths. If you do "git checkout -- ", make > will punish you, but why would you do that? I'd guess that people are > unlikely to have a significant number of non-changes in this piece of > code, just because they wouldn't list things that they didn't think had > changes. For convenience, you can also say $ git checkout -- and expect checkout to not really touch the unchanged files. Ciao, Dscho