summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from: 0dbe659)
raw | patch | inline | side by side (from: 0dbe659)
author | Thomas Rast <trast@inf.ethz.ch> | |
Tue, 6 Mar 2012 14:50:37 +0000 (15:50 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Mar 2012 20:32:24 +0000 (12:32 -0800) |
OS X's sed and grep would complain with (respectively)
sed: 1: "/^-/{p;q}": extra characters at the end of q command
grep: Regular expression too big
For sed, use an explicit ; to terminate the q command.
For grep, spell the "40 hex digits" explicitly in the regex, which
should be safe as other tests already use this and we haven't got
breakage reports on OS X about them.
Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sed: 1: "/^-/{p;q}": extra characters at the end of q command
grep: Regular expression too big
For sed, use an explicit ; to terminate the q command.
For grep, spell the "40 hex digits" explicitly in the regex, which
should be safe as other tests already use this and we haven't got
breakage reports on OS X about them.
Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found