Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Add missing newlines to the error messages #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions git-test
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ decide_refs() {
if [ -z "$args" ] ; then
gettext "Cowardly refusing to test the entire history.
(If that's what you really want, you must specify at least HEAD)" >& $ERR
echo >& $ERR
rc=5
else
echo "$branch $args" | tr " " "$NL" | sort | uniq | tr "$NL" " "
Expand Down Expand Up @@ -335,6 +336,7 @@ parse_redo() {
redo=both
else
gettext "Unknown redo mode requested"
echo
rc=1
exit $rc
fi
Expand Down Expand Up @@ -434,6 +436,7 @@ if [ $action = clear ] ; then

if test 1 -gt "$count" ; then
gettext "List of commits to clear is empty" 1>&2
echo 1>&2
exit
fi

Expand Down Expand Up @@ -476,6 +479,7 @@ count="$(echo "${commits[@]}" | wc -w)"

if test 1 -gt "$count" ; then
gettext 'List of commits to test is empty' 1>&2
echo 1>&2
exit
elif test -z "$GIT_QUIET" ; then
printf "$(eval_gettext "%s will test %d commits\n")" "${refs[*]}" "$count"
Expand Down
7 changes: 0 additions & 7 deletions regress.sh

This file was deleted.

Empty file modified test.sh
100644 → 100755
Empty file.