Re: [PATCH] git-format-patch -3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Wednesday, January 17, 2007 - 6:25 pm

Hi,

On Wed, 17 Jan 2007, Junio C Hamano wrote:


Uhm. What exactly _would_ be upstream?

At the moment, for "--ignore-if-in-upstream" we handle _only_ ranges 
(a..b), where we treat the left part as the upstream, so we first parse 
all the diffs in b..a, and then ignore all commits in a..b which have an 
already-seen diff hash.

However, if we want to do the logical analogue with "-22 HEAD", the 
equivalent to b..a would trivially contain no commits at all.


It sure is supported by the principle of least surprise.

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:
[PATCH] git-format-patch -3, Junio C Hamano, (Wed Jan 17, 2:35 pm)
[PATCH] Add --summary to git-format-patch by default, Junio C Hamano, (Wed Jan 17, 2:51 pm)
[PATCH] git-format-patch: make --binary on by default, Junio C Hamano, (Wed Jan 17, 3:41 pm)
Re: [PATCH] Add --summary to git-format-patch by default, Shawn O. Pearce, (Wed Jan 17, 6:04 pm)
Re: [PATCH] git-format-patch -3, Johannes Schindelin, (Wed Jan 17, 6:25 pm)