Re: [PATCH 1/6] t3404 & t3411: undo copy&paste
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 27, 2009, 22:53 UTC
- Message-ID
- <alpine.DEB.1.00.0901272352110.3586@pacific.mpi-cbg.de>
- In-Reply-To
- <7veiyo1i5y.fsf@gitster.siamese.dyndns.org>
Hi,
On Tue, 27 Jan 2009, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> >> > + sed -n "${line}p" < "$1".tmp
> >> > + sed -n "${line}s/^pick/$action/p" < "$1".tmp >> "$1"
> >> > + sed -n "${line}s/^pick/$action/p" < "$1".tmp
> >
> > Probably. It is for debugging, anyway. As everything you only see with
> > -v.
>
> Exactly. That is why I'd rather want to see what exact insn sequence is
> being fed to the "rebase -i". Because I'd be debugging my new test or
> changes to "rebase -i", not debugging fake-editor's use of sed.If you are really after seeing the constructed rebase script, then
tail -n 1 "$1"
would make tons more sense, no?
Ciao, Dscho