git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-format-patch-script bug?
@ 2005-08-07  7:35 Eric W. Biederman
  2005-08-07 17:21 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Eric W. Biederman @ 2005-08-07  7:35 UTC (permalink / raw)
  To: git


I haven't had a chance to investigate this much
yet but I have ran into a peculiar problem.

I was trying to help someone track down a bug that
occurred between linux-2.6.12 and linux-2.6.13-rc1.
Since it was very much an unknown where the problem
was introduced I decided to run git format-patch
so I could see what all of the differences were.
Then to be certain the patch series worked I started
applying them in order.  

I didn't get very far when I had a patch conflict.

Looking deeper git-diff-tree is always making the diffs
against the parent instead of against the next commit
in the series.  Which is largely sane.  However it does
not warn or fail when the parents and the next commit are different,
which seems nonintuitive.

Eric

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: git-format-patch-script bug?
@ 2005-08-07 20:53 Marco Costalba
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Costalba @ 2005-08-07 20:53 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Eric W. Biederman, git

Junio C Hamano wrote:

>
>I am reluctant to actually do this right away, because this is
>an incompatible change from the current format:
>
>    $ git format-patch his mine
>


Of course this breaks qgit interface to git-format-patch-script
but if you think it's better this way....


>The same goes for rebase (and therefore cherry).  I could use an
>ugly heuristics for backward compatibility like "if invoked with
>exactly two parameters, and there is no prefix ^ nor .. in these
>two, then use the old interpretation, otherwise give them to
>rev-parse", but I think this is ugly.
>
>So my question to the list is: do people mind this change?
>

I think it's ugly too, in this early phase of git development 
better go with proper solution then compatibility compromises.

A suggestion I would like to present is if can be useful a
kind of scheduling/list of planned compatibility break features so
 that developers can know in advance when and what will break
 their stuff and users can know when they will need to upgrade.







		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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

end of thread, other threads:[~2005-08-07 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07  7:35 git-format-patch-script bug? Eric W. Biederman
2005-08-07 17:21 ` Junio C Hamano
2005-08-07 18:54   ` Eric W. Biederman
2005-08-07 19:55     ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2005-08-07 20:53 Marco Costalba

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