git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ouput of git diff with <ent>:<path>
@ 2006-05-16 22:24 Santi
  2006-05-16 22:44 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Santi @ 2006-05-16 22:24 UTC (permalink / raw)
  To: git, Junio C Hamano

Hi *,

   just curious if this is the expected output. I find this syntax
very usefull but the "a/v1.3.3:" of even without the tree "a/:" a bit
confusing. And 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

Thanks.

Santi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ouput of git diff with <ent>:<path>
  2006-05-16 22:24 Ouput of git diff with <ent>:<path> Santi
@ 2006-05-16 22:44 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-05-16 22:44 UTC (permalink / raw)
  To: Santi; +Cc: git

Santi <sbejar@gmail.com> writes:

> ... 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
;-).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-16 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 22:24 Ouput of git diff with <ent>:<path> Santi
2006-05-16 22:44 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).