From: Thomas Rast Date: Sun, 25 Jan 2009 23:49:22 GMT Subject: Re: [PATCH 1/2] rebase -i --root: simplify code Message-ID: <200901260049.25563.trast@student.ethz.ch> In-Reply-To: Johannes Schindelin wrote: > > When we rebase with --root, what we are actually picking are the commits > in $ONTO..$HEAD. So $ONTO is really our $UPSTREAM. Spell it out. [...] > + UPSTREAM=$ONTO While I think the simplification is reasonable, it breaks this check: get_saved_options () { # ... test ! -s "$DOTEST"/upstream && REBASE_ROOT=t } So you'll have to change that too. -- Thomas Rast trast@{inf,student}.ethz.ch