File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -739,7 +739,7 @@ rearrange_squash () {
739
739
;;
740
740
esac
741
741
done
742
- echo " $sha1 $action $prefix $rest "
742
+ printf ' %s %s %s %s\n ' " $sha1 " " $action " " $prefix " " $rest "
743
743
# if it's a single word, try to resolve to a full sha1 and
744
744
# emit a second copy. This allows us to match on both message
745
745
# and on sha1 prefix
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ error "Test script did not set test_description."
277
277
278
278
if test " $help " = " t"
279
279
then
280
- echo " $test_description "
280
+ printf ' %s\n ' " $test_description "
281
281
exit 0
282
282
fi
283
283
@@ -328,7 +328,7 @@ test_failure_ () {
328
328
test_failure=$(( $test_failure + 1 ))
329
329
say_color error " not ok $test_count - $1 "
330
330
shift
331
- echo " $@ " | sed -e ' s/^/# /'
331
+ printf ' %s\n ' " $* " | sed -e ' s/^/# /'
332
332
test " $immediate " = " " || { GIT_EXIT_OK=t; exit 1; }
333
333
}
334
334
You can’t perform that action at this time.
0 commit comments