Junio C Hamano wrote:
"J. Bruce Fields" <bfields@xxxxxxxxxxxx> 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@xxxxxx
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html