From: Junio C Hamano <gitster@pobox•com>
To: Eric Sunshine <sunshine@sunshineco•com>
Cc: Nazri Ramliy <ayiehere@gmail•com>, Git List <git@vger•kernel.org>,
Jeff King <peff@peff•net>, Jonathan Nieder <jrnieder@gmail•com>
Subject: Re: [PATCH v3] Teach git to change to a given directory using -C option
Date: Mon, 09 Sep 2013 10:59:37 -0700 [thread overview]
Message-ID: <xmqqa9jl5112.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <CAPig+cQEor+dBU6Xww25A4Sc-mgEOq1SDmBX-9xM6pKuMqu-NQ@mail.gmail.com> (Eric Sunshine's message of "Mon, 9 Sep 2013 13:42:50 -0400")
Eric Sunshine <sunshine@sunshineco•com> writes:
> On Mon, Sep 9, 2013 at 12:32 PM, Junio C Hamano <gitster@pobox•com> wrote:
>> Nazri Ramliy <ayiehere@gmail•com> writes:
>>
>>> Subject: git: run in a directory given with -C option
>>>
>>> +-C <path>::
>>> + Run as if git was started in '<path>' 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 <path>` is interpreted relative to the preceding `-C
>>> + <path>`.
>>> ++
>>> +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.
next prev parent reply other threads:[~2013-09-09 17:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 11:59 [PATCH v3] Teach git to change to a given directory using -C option Nazri Ramliy
2013-09-03 22:46 ` Junio C Hamano
2013-09-03 23:37 ` Eric Sunshine
2013-09-04 6:36 ` Nazri Ramliy
2013-09-04 6:45 ` Eric Sunshine
2013-09-04 12:20 ` Nazri Ramliy
2013-09-08 10:32 ` Eric Sunshine
2013-09-09 1:49 ` Nazri Ramliy
2013-09-09 5:01 ` Eric Sunshine
2013-09-09 13:47 ` Nazri Ramliy
2013-09-09 16:32 ` Junio C Hamano
2013-09-09 17:42 ` Eric Sunshine
2013-09-09 17:59 ` Junio C Hamano [this message]
2013-09-09 18:43 ` Eric Sunshine
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=xmqqa9jl5112.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=ayiehere@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=jrnieder@gmail$(echo .)com \
--cc=peff@peff$(echo .)net \
--cc=sunshine@sunshineco$(echo .)com \
/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