git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] config.txt: fix placement of diff.noprefix

From
Eli Collins <eli@cloudera.com>
Date
Sep 10, 2010, 16:46 UTC
Message-ID
<AANLkTimpSPkA+=CHw2QqA17HkAdjB1Zd3tsGAWQ3-HiY@mail.gmail.com>
In-Reply-To
<7vvd6dh83o.fsf@alter.siamese.dyndns.org>
Good find. Apologies, looks like that was an issue with the original patch.
On Fri, Sep 10, 2010 at 9:32 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 39 quoted lines
> Mark Lodato <lodatom@gmail.com> writes:
>
>> In git-config(1), diff.noprefix was placed in between
>> diff.mnemonicprefix and the list of mnemonic prefixes, which is
>> obviously incorrect and very confusing to readers.  Now, it is located
>> after the end of the explanation of mnemonicprefix, which makes much
>> more sense.
>>
>> Signed-off-by: Mark Lodato <lodatom@gmail.com>
>> ---
>>  Documentation/config.txt |    5 +++--
>>  1 files changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/config.txt b/Documentation/config.txt
>> index d294dd6..d82c0da 100644
>> --- a/Documentation/config.txt
>> +++ b/Documentation/config.txt
>> @@ -813,8 +813,6 @@ diff.mnemonicprefix::
>>       standard "a/" and "b/" depending on what is being compared.  When
>>       this configuration is in effect, reverse diff output also swaps
>>       the order of the prefixes:
>> -diff.noprefix::
>> -     If set, 'git diff' does not show any source or destination prefix.
>>  `git diff`;;
>>       compares the (i)ndex and the (w)ork tree;
>>  `git diff HEAD`;;
>> @@ -826,6 +824,9 @@ diff.noprefix::
>>  `git diff --no-index a b`;;
>>       compares two non-git things (1) and (2).
>>
>> +diff.noprefix::
>> +     If set, 'git diff' does not show any source or destination prefix.
>> +
>>  diff.renameLimit::
>>       The number of files to consider when performing the copy/rename
>>       detection; equivalent to the 'git diff' option '-l'.
>
> Good eyes, thanks.  How did that happen I wonder...
>
Previous: Junio C Hamano
Message 3 of 3 in “config.txt: fix placement of diff.noprefix”
  1. config.txt: fix placement of diff.noprefixMark Lodato, Sep 10, 2010
  2. Junio C HamanoSep 10, 2010
  3. Eli CollinsSep 10, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.