From: Junio C Hamano <gitster@pobox.com>
To: Francis Galiegue <fg@one2team.com>
Cc: Jakub Narebski <jnareb@gmail.com>, git@vger.kernel.org
Subject: Re: Init on push
Date: Sat, 08 Nov 2008 12:38:10 -0800 [thread overview]
Message-ID: <7v3ai2c5sd.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <200811082108.34535.fg@one2team.com> (Francis Galiegue's message of "Sat, 8 Nov 2008 21:08:34 +0100")
Francis Galiegue <fg@one2team.com> writes:
> Le Saturday 08 November 2008 21:06:01 Jakub Narebski, vous avez écrit :
>> Junio C Hamano wrote:
>> > - Teach "-D $there" option to "git init", which does an "mkdir -p $it &&
>> > chdird $it" before it does its work.
>>
>> Shouldn't it be "-C $there" (like make and tar)?
>
> I agree with that. It's pretty much a standard for quite a few "command line
> people", insofar as I always look for such an option in case I want to know
> whether a command has the ability to chdir() to a different directory than
> the current one :p
In this particular case, it is not "chdir() before starting" but "mkdir
and then chdir() into it". Using -C would be counterproductive.
next prev parent reply other threads:[~2008-11-08 20:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-08 16:08 Init on push Robin Rosenberg
2008-11-08 19:26 ` Junio C Hamano
2008-11-08 20:01 ` Alexander Gavrilov
2008-11-08 20:12 ` Junio C Hamano
2008-11-08 20:06 ` Jakub Narebski
2008-11-08 20:08 ` Francis Galiegue
2008-11-08 20:38 ` Junio C Hamano [this message]
2008-11-08 20:44 ` Francis Galiegue
2008-11-08 20:50 ` Francis Galiegue
2008-11-09 0:13 ` Junio C Hamano
2008-11-09 1:41 ` Francis Galiegue
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=7v3ai2c5sd.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=fg@one2team.com \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.