Re: [PATCH v3 2/2] rebase-i: work around Windows CRLF line endings
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 27, 2015, 09:55 UTC
- Message-ID
- <alpine.DEB.1.00.1510271054380.31610@s15462909.onlinehome-server.info>
- In-Reply-To
- <adcab7dcf9d802b3703b9ec9291132259a092a04.1445939154.git.johannes.schindelin@gmx.de>
Hi,
On Tue, 27 Oct 2015, Johannes Schindelin wrote:
Show 13 quoted lines
> diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh > index 5dfa16a..98eb49a 100755 > --- a/t/t3404-rebase-interactive.sh > +++ b/t/t3404-rebase-interactive.sh > @@ -1261,7 +1261,7 @@ test_expect_success 'static check of bad SHA-1' ' > test E = $(git cat-file commit HEAD | sed -ne \$p) > ' > > -test_expect_failure 'editor saves as CR/LF' ' > +test_expect_success 'editor saves as CR/LF' ' > git checkout -b with-crlf && > write_script add-crs.sh <<-\EOF && > sed -e "s/\$/Q/" <"$1" | tr Q "\\015" >"$1".new &&
My apologies: I forgot to spell out explicitly that this passes in Git for Windows 2.x' SDK: It does.
Ciao, Johannes