File tree Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,9 @@ It does not apply to blobs recorded in its index.")"
185
185
}
186
186
187
187
clean_abort () {
188
- test $# = 0 || echo >&2 " $@ "
188
+ test $# = 0 || cat >&2 << EOF
189
+ $@
190
+ EOF
189
191
rm -fr " $dotest "
190
192
exit 1
191
193
}
Original file line number Diff line number Diff line change 71
71
72
72
case " $LF$common$LF " in
73
73
* " $LF$SHA1$LF " * )
74
- echo " Already up-to-date with $pretty_name "
74
+ cat << EOF
75
+ Already up-to-date with $pretty_name
76
+ EOF
75
77
continue
76
78
;;
77
79
esac
83
85
# tree as the intermediate result of the merge.
84
86
# We still need to count this as part of the parent set.
85
87
86
- echo " Fast-forwarding to: $pretty_name "
88
+ cat << EOF
89
+ Fast-forwarding to: $pretty_name
90
+ EOF
87
91
git read-tree -u -m $head $SHA1 || exit
88
92
MRC=$SHA1 MRT=$( git write-tree)
89
93
continue
90
94
fi
91
95
92
96
NON_FF_MERGE=1
93
97
94
- echo " Trying simple merge with $pretty_name "
98
+ cat << EOF
99
+ Trying simple merge with $pretty_name
100
+ EOF
95
101
git read-tree -u -m --aggressive $common $MRT $SHA1 || exit 2
96
102
next=$( git write-tree 2> /dev/null)
97
103
if test $? -ne 0
Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ GIT_QUIET=
59
59
say () {
60
60
if test -z " $GIT_QUIET "
61
61
then
62
- printf ' %s\n' " $* "
62
+ cat << EOF
63
+ $*
64
+ EOF
63
65
fi
64
66
}
65
67
Original file line number Diff line number Diff line change @@ -434,9 +434,11 @@ cmd_add()
434
434
435
435
if test -z " $force " && ! git add --dry-run --ignore-missing " $sm_path " > /dev/null 2>&1
436
436
then
437
- eval_gettextln " The following path is ignored by one of your .gitignore files:
438
- \$ sm_path
439
- Use -f if you really want to add it." >&2
437
+ cat >&2 << EOF
438
+ The following path is ignored by one of your .gitignore files:
439
+ $( eval_gettextln $sm_path )
440
+ Use -f if you really want to add it.
441
+ EOF
440
442
exit 1
441
443
fi
442
444
You can’t perform that action at this time.
0 commit comments