threads / patch / 1352

patchremove "-r" option to xargs

Subject: [PATCH] remove "-r" option to xargs

## tl;dr

One message between Jul 28, 2005 and Jul 28, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johannes Schindelin· Jul 28, 2005, 14:48 UTC · lore
git-prune-script still contained that non-portable option.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 git-prune-script |    2 +-
 1 files changed, 1 insertion, 1 deletion
Show changes to git-prune-script +1 −1
diff --git a/git-prune-script b/git-prune-script
--- a/git-prune-script
+++ b/git-prune-script
@@ -20,6 +20,6 @@ sed -ne '/unreachable /{
     s|\(..\)|\1/|p
 }' | {
 	cd "$GIT_OBJECT_DIRECTORY" || exit
-	xargs -r $dryrun rm -f
+	xargs $dryrun rm -f
 }

← back to recent threads