From: Brian Gernhardt Date: Sat, 13 Jan 2007 16:31:37 GMT Subject: Re: Importing from tarballs; add, rm, update-index? Message-ID: In-Reply-To: On Jan 13, 2007, at 4:36 AM, Peter Baumann wrote: > On 2007-01-13, Brian Gernhardt wrote: >> >> On Jan 12, 2007, at 2:43 PM, Junio C Hamano wrote: >> >>> Peter Baumann >>> writes: >>> >>>> Me doesn't really like the new semantics of "git-add", because it >>>> does >>>> two seperate things - it adds new files and it refreshes the >>>> content of >>>> previously known files. >>> >>> http://thread.gmane.org/gmane.comp.version-control.git/32452/ >>> focus=32792 >> >> Should this be added to Documentation/rants/filename- >> braindamage.txt? ;-) >> >> ~~ Brian > > Ok. Obviously I should't have said that it add "files" (gr, silly me). > What I meant was it adds the content of files. But there is a > difference > in adding and replacing content. I was referring to adding Linus' rant... And maybe several others. I tend to find his rants at least slightly amusing, highly informative, and I tend to end up agreeing. I have very little opinion on your complaint so long as the system works consistently. "git commit -a" is still my most common workflow. I've used git-add (and prior to that git-update-index) from time to time when I fix bugs that need to be separate from my current work, but far far more common is "I finished this chunk of functionality, add all the changes I did to make it happen". ~~ Brian