summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed40ec5)
raw | patch | inline | side by side (parent: ed40ec5)
author | Brandon Casey <drafnel@gmail.com> | |
Thu, 6 Jan 2011 00:30:03 +0000 (18:30 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 6 Jan 2011 20:34:52 +0000 (12:34 -0800) |
POSIX leaves as unspecified the handling of labels greater than 8
characters. Apparently, Sun decided to treat them as errors. Make sed on
Solaris happy by trimming the length of labels to 8 characters.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
characters. Apparently, Sun decided to treat them as errors. Make sed on
Solaris happy by trimming the length of labels to 8 characters.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3032-merge-recursive-options.sh | patch | blob | history |
index 2293797553d49c5221da10ca17f97eeba1f5d29d..de9ff89d14ff97f1691efee3a670084d4f20a249 100755 (executable)
test_expect_success 'setup' '
conflict_hunks () {
sed -n -e "
- /^<<<</ b inconflict
+ /^<<<</ b conflict
b
- : inconflict
+ : conflict
p
/^>>>>/ b
n
- b inconflict
+ b conflict
" "$@"
} &&