From: Junio C Hamano Date: Mon, 09 Sep 2013 17:59:37 GMT Subject: Re: [PATCH v3] Teach git to change to a given directory using -C option Message-ID: In-Reply-To: Eric Sunshine writes: > On Mon, Sep 9, 2013 at 12:32 PM, Junio C Hamano wrote: >> Nazri Ramliy writes: >> >>> Subject: git: run in a directory given with -C option >>> >>> +-C :: >>> + Run as if git was started in '' instead of the current working >>> + directory. When multiple '-C' options are given, each subsequent >> >> I think this should be `-C` to typeset it as "typed literally". >> >>> + non-absolute `-C ` is interpreted relative to the preceding `-C >>> + `. >>> ++ >>> +This option affects options that expect path name like '--git-dir' and >>> +'--work-tree' in that their interpretations of the path names would be >> >> Likewise for `--git-dir` and `--work-tree`. >> >>> +made relative to the working directory caused by the '-C' option. For >> >> and here. > > I agree with all of the above, however, the unfortunate typesetting in > these cases was chosen deliberately to be consistent with the > immediately surrounding text. A separate typesetting normalization > patch, either before or after this patch, would not be unwelcome. (I > forgot to make such a suggestion in [1].) > > [1]: http://thread.gmane.org/gmane.comp.version-control.git/233719/focus=234234 OK, thanks for clarification.