From: Andreas Ericsson <ae@op5•se>
To: Junio C Hamano <junkio@cox•net>
Cc: "J. Bruce Fields" <bfields@fieldses•org>, git@vger•kernel.org
Subject: Re: [RFC] git-remote
Date: Tue, 09 Jan 2007 10:22:53 +0100 [thread overview]
Message-ID: <45A35EED.5090105@op5.se> (raw)
In-Reply-To: <7vr6u4sq9e.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> "J. Bruce Fields" <bfields@fieldses•org> 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
next prev parent reply other threads:[~2007-01-09 9:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 21:40 [RFC] git-remote Junio C Hamano
2007-01-03 22:05 ` Jakub Narebski
2007-01-05 3:02 ` Shawn O. Pearce
2007-01-05 3:07 ` Junio C Hamano
2007-01-05 3:17 ` Shawn O. Pearce
2007-01-05 12:59 ` Santi Béjar
2007-01-05 13:53 ` Johannes Schindelin
2007-01-05 19:53 ` Santi Béjar
2007-01-05 21:08 ` Carl Worth
2007-01-06 1:59 ` Junio C Hamano
2007-01-08 22:52 ` Carl Worth
2007-01-09 4:28 ` J. Bruce Fields
2007-01-09 5:48 ` Junio C Hamano
2007-01-09 5:50 ` Junio C Hamano
2007-01-09 9:22 ` Andreas Ericsson [this message]
2007-01-10 18:13 ` J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45A35EED.5090105@op5.se \
--to=ae@op5$(echo .)se \
--cc=bfields@fieldses$(echo .)org \
--cc=git@vger$(echo .)kernel.org \
--cc=junkio@cox$(echo .)net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox