From: Andreas Ericsson Date: Tue, 09 Jan 2007 09:22:53 GMT Subject: Re: [RFC] git-remote Message-ID: <45A35EED.5090105@op5.se> In-Reply-To: <7vr6u4sq9e.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > "J. Bruce Fields" 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 andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231