Re: git patch format for rename

2016-07-06 Thread Stefan Beller
On Wed, Jul 6, 2016 at 9:00 AM, nadya.zabrod...@jetbrains.com wrote: > Hi, > > could you please explain to me why ‘rename from & rename to’ information is > added to git patch? > Is there any reason why git can’t recognize and apply rename-change which > looks like this: > > diff --git a/be

git patch format for rename

2016-07-06 Thread nadya.zabrod...@jetbrains.com
Hi, could you please explain to me why ‘rename from & rename to’ information is added to git patch? Here is the patch created by `git format-patch`: diff --git a/before.txt b/after.txt similarity index 100% rename from before.txt rename to after.txt Is there any reason why g