Subject: Re: [RFC] git-remote

From: Andreas Ericsson <[email-masked]>
Date: Tue, 09 Jan 2007 10:22:53 +0100

Junio C Hamano wrote:
> "J. Bruce Fields" <[email-masked]> writes:
> 
>> Would it make sense for "git add" to do the initial fetch as well?
> 
> It would be handy.
> 
> And perhaps we could make it the default but with a command line
> override to help disconnected people.
> 

I'd rather do it the other way around ("--fetch" switch) and if that 
wasn't supplied, tell the user that he should now run

	git fetch $whatever_name_was_supplied

The reason being it's easier to fetch afterwards than it is to undo the 
fetch if you didn't mean to do it straight away. Judging by its other 
uses, I also wouldn't expect the command to actually work over the network.

-- 
Andreas Ericsson                   [email-masked]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231