Re: git diff woes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Monday, November 12, 2007 - 3:01 am

Hi,

On Mon, 12 Nov 2007, Andreas Ericsson wrote:


Huh?  You admit yourself that it is not a bug.  And sure you can trust the 
hunk header.  Like most of the things, the relate to the _original_ 
version, since the diff is meant to be applied as a forward patch.

So for all practical matters, the diff shows the correct thing: "in this 
hunk, which (still) belongs to that function, change this and this."

Of course, that is only the case if you accept that the diff should be 
applied _in total_, not piecewise.  IOW if you are a fan of GNU patch 
which happily clobbers your file until it fails with the last hunk, you 
will not be happy.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git diff woes, Andreas Ericsson, (Mon Nov 12, 2:44 am)
Re: git diff woes, Johannes Schindelin, (Mon Nov 12, 3:01 am)
Re: git diff woes, Andreas Ericsson, (Mon Nov 12, 3:35 am)
Re: git diff woes, Johannes Schindelin, (Mon Nov 12, 3:50 am)
Re: git diff woes, Andreas Ericsson, (Mon Nov 12, 4:19 am)
Re: git diff woes, Junio C Hamano, (Mon Nov 12, 2:30 pm)
Re: git diff woes, Andreas Ericsson, (Mon Nov 12, 5:03 pm)
Re: git diff woes, Johannes Schindelin, (Mon Nov 12, 5:59 pm)
Re: git diff woes, Miles Bader, (Mon Nov 12, 7:53 pm)
Re: git diff woes, Andreas Ericsson, (Tue Nov 13, 12:40 am)
[PATCH] diffcore: Allow users to decide what funcname to use, Andreas Ericsson, (Tue Nov 13, 2:15 am)