summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cc96fd0)
raw | patch | inline | side by side (parent: cc96fd0)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 23 Mar 2007 01:05:28 +0000 (21:05 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Mar 2007 01:08:37 +0000 (18:08 -0700) |
Elias Pipping:
> I'm on a mac, hence /usr/bin/sed is not gnu sed, which makes
> t4118 fail.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Ack'd-by: Elias Pipping <pipping@macports.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
> I'm on a mac, hence /usr/bin/sed is not gnu sed, which makes
> t4118 fail.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Ack'd-by: Elias Pipping <pipping@macports.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t4118-apply-empty-context.sh | patch | blob | history |
index 690a1820032025056307de8926e8f56826c29367..27cc6f2b88974051cd521755800342e375d84af7 100755 (executable)
cat file2 >file2.orig
git add file1 file2 &&
sed -e "/^B/d" <file1.orig >file1 &&
- sed -e "/^B/d" <file2.orig >file2 &&
+ sed -e "/^[BQ]/d" <file2.orig >file2 &&
+ echo Q | tr -d "\\012" >>file2 &&
cat file1 >file1.mods &&
cat file2 >file2.mods &&
git diff |