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 () {
739739 ;;
740740 esac
741741 done
742- echo " $sha1 $action $prefix $rest "
742+ printf ' %s %s %s %s\n ' " $sha1 " " $action " " $prefix " " $rest "
743743 # if it's a single word, try to resolve to a full sha1 and
744744 # emit a second copy. This allows us to match on both message
745745 # 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."
277277
278278if test " $help " = " t"
279279then
280- echo " $test_description "
280+ printf ' %s\n ' " $test_description "
281281 exit 0
282282fi
283283
@@ -328,7 +328,7 @@ test_failure_ () {
328328 test_failure=$(( $test_failure + 1 ))
329329 say_color error " not ok $test_count - $1 "
330330 shift
331- echo " $@ " | sed -e ' s/^/# /'
331+ printf ' %s\n ' " $* " | sed -e ' s/^/# /'
332332 test " $immediate " = " " || { GIT_EXIT_OK=t; exit 1; }
333333}
334334
You can’t perform that action at this time.
0 commit comments