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

Re: Ouput of git diff with <ent>:<path>

From
Junio C Hamano <junkio@cox.net>
Date
May 16, 2006, 22:44 UTC
Message-ID
<7vwtcl4mke.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<8aa486160605161524j5d7e672eo@mail.gmail.com>
Santi <sbejar@gmail.com> writes:
Show 10 quoted lines
> ... I didn't expect the rename from/to neither the
> similarity index 0%.
>
> diff --git a/v1.3.3:Makefile b/Makefile
> similarity index 0%
> rename from v1.3.3:Makefile
> rename to Makefile
> index b808eca..55d1937 100644
> --- a/v1.3.3:Makefile
> +++ b/Makefile

Yes I am aware of this one; I just haven't bothered to deal with it.

It looks at two strings, "v1.3.3:Makefile" and "Makefile", and says "they have different names -- they are renamed".

Patches welcome as long as you do not break more usual cases ;-).

Previous: Santi
Message 2 of 2 in “Ouput of git diff with <ent>:<path>”
  1. SantiMay 16, 2006
  2. Junio C HamanoMay 16, 2006

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.