Re: Init on push

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Francis Galiegue <fg@xxxxxxxxxxxx> 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.
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux