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

Re: [PATCH] diff: add a 'path' meta header for non-renames and non-copies

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
May 4, 2010, 19:30 UTC
Message-ID
<AANLkTilsk7Hh0oN72SfOlRK92qQhjVa-rNYUtVHocEj0@mail.gmail.com>
In-Reply-To
<7v8w80sb5b.fsf@alter.siamese.dyndns.org>
On Tue, May 4, 2010 at 03:34, Junio C Hamano <gitster@pobox.com> wrote:
Show 18 quoted lines
> Bert Wesarg <bert.wesarg@googlemail.com> writes:
>
>> ... do you have any other
>> thoughts on adding a <path> extended header for non-renames and
>> non-copies?
>
> Other than "Why do we even need it?", no.  We actually have been careful
> when designing the output format to make sure that necessary information
> appears.
>
> See also this thread:
>
>    http://thread.gmane.org/gmane.comp.version-control.git/3990/focus=4002
>
> I wasn't too opposed to having a separate "Index: " line (or Anton's
> "name") like CVS does, but the conclusion of the thread was that it is not
> necessary.
>

Thanks for the pointer. The discussion revolves around technical arguments and the conclusion that this extra information is not necessary is reasonable. My intention for this information comes only from the usability and convenience side: I want a path without any prefix which I can select in the terminal and use this to open the file. Thats why it is only an option for the UI interface.

Bert
Previous: Junio C HamanoNext: Eli Collins
Message 8 of 9 in “diff: add configuration option for disabling diff prefixes.”
  1. diff: add configuration option for disabling diff prefixes.Eli Collins, May 3, 2010
  2. diff: add a 'path' meta header for non-renames and non-copiesBert Wesarg, May 3, 2010
  3. Junio C HamanoMay 3, 2010
  4. Bert WesargMay 3, 2010
  5. Junio C HamanoMay 3, 2010
  6. Bert WesargMay 3, 2010
  7. Junio C HamanoMay 4, 2010
  8. Bert WesargMay 4, 2010
  9. Eli CollinsMay 5, 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.