Re: [PATCH 1/3] rebase: allow --merge option to handle patches merged upstream
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Jun 25, 2006, 04:59 UTC
- Message-ID
- <20060625045912.GB17674@hand.yhbt.net>
- In-Reply-To
- <Pine.LNX.4.63.0606250401490.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 10 quoted lines
> Hi, > > On Sat, 24 Jun 2006, Eric Wong wrote: > > > + if test -n "`git-diff-index HEAD`" > > This is not a sufficient test if the patch was already merged to upstream. > For example, you can have two patches which touched the same file, and one > of them was applied to upstream, the other not. The test fails to see > that. Or am I missing something?
This is just to tell if there's anything worth committing after a merge is complete. If not, then it assumes it's been a) merged upstream or b) empty in the first place (very unlikely).
-- Eric Wong