Thread (3 messages) 3 messages, 3 authors, 2016-06-15

Re: Init on push

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:37

Francis Galiegue [off-list ref] writes:
Le Saturday 08 November 2008 21:06:01 Jakub Narebski, vous avez écrit :
quoted
Junio C Hamano wrote:
quoted
 - 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help