summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 02567e8)
raw | patch | inline | side by side (parent: 02567e8)
author | Brandon Casey <drafnel@gmail.com> | |
Wed, 15 Sep 2010 20:58:22 +0000 (15:58 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 17 Sep 2010 21:42:13 +0000 (14:42 -0700) |
The ancient touch on Solaris 7 thinks that a decimal number supplied as
the first argument specifies a date_time to give to the files specified by
the remaining arguments. In this case, it fails to parse '1' as a proper
date_time and exits with a failure status. Workaround this flaw by
rearranging the arguments supplied to touch so that a non-digit appears
first and touch will not be confused.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the first argument specifies a date_time to give to the files specified by
the remaining arguments. In this case, it fails to parse '1' as a proper
date_time and exits with a failure status. Workaround this flaw by
rearranging the arguments supplied to touch so that a non-digit appears
first and touch will not be confused.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7300-clean.sh | patch | blob | history |
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 7dbbea13aca1835d6e9a1a8fb6ab2a5babf1b68a..6c776e9bec78ab1cf960293d8c796e9de13045b5 100755 (executable)
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
(
cd repo &&
git init &&
- touch 1 2 3 known &&
+ touch known 1 2 3 &&
git add known &&
git clean -f -e 1 -e 2 &&
test -e 1 &&