Re: [PATCH 1/2] rebase -i --root: simplify code
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 25, 2009, 23:53 UTC
- Message-ID
- <200901260053.06315.trast@student.ethz.ch>
- In-Reply-To
- <200901260049.25563.trast@student.ethz.ch>
Thomas Rast wrote:
> test ! -s "$DOTEST"/upstream && REBASE_ROOT=t
Actually, I think that test never worked (and it's clearly my fault).
The corresponding 'echo $UPSTREAM > "$DOTEST"/upstream' just expanded to 'echo > ...', resulting in a file containing a single newline, but never a zero-length file. Duh.
--
Thomas Rast
trast@{inf,student}.ethz.ch