Code

[PATCH] remove "-r" option to xargs
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 28 Jul 2005 14:48:13 +0000 (16:48 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Jul 2005 07:12:02 +0000 (00:12 -0700)
git-prune-script still contained that non-portable option.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-prune-script

index 2c678f26a4ec8c9a319944b76c427b30450bf861..a8e338c488865b1579071ea363fc18fa8e3d8890 100755 (executable)
@@ -20,6 +20,6 @@ sed -ne '/unreachable /{
     s|\(..\)|\1/|p
 }' | {
        cd "$GIT_OBJECT_DIRECTORY" || exit
-       xargs -r $dryrun rm -f
+       xargs $dryrun rm -f
 }