Skip to content

Commit e328a54

Browse files
committed
fixup! Windows: make sure that merge-octopus only outputs LF line endings
It appears this patch is no longer necessary. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 85bc5ad commit e328a54

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

git-merge-octopus.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ do
7171

7272
case "$LF$common$LF" in
7373
*"$LF$SHA1$LF"*)
74-
cat << EOF
75-
Already up-to-date with $pretty_name
76-
EOF
74+
echo "Already up-to-date with $pretty_name"
7775
continue
7876
;;
7977
esac
@@ -85,19 +83,15 @@ EOF
8583
# tree as the intermediate result of the merge.
8684
# We still need to count this as part of the parent set.
8785

88-
cat << EOF
89-
Fast-forwarding to: $pretty_name
90-
EOF
86+
echo "Fast-forwarding to: $pretty_name"
9187
git read-tree -u -m $head $SHA1 || exit
9288
MRC=$SHA1 MRT=$(git write-tree)
9389
continue
9490
fi
9591

9692
NON_FF_MERGE=1
9793

98-
cat << EOF
99-
Trying simple merge with $pretty_name
100-
EOF
94+
echo "Trying simple merge with $pretty_name"
10195
git read-tree -u -m --aggressive $common $MRT $SHA1 || exit 2
10296
next=$(git write-tree 2>/dev/null)
10397
if test $? -ne 0

0 commit comments

Comments
 (0)