From a37c540e0efd1509127587faa6a201e338a0f016 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 22 May 2007 19:33:19 +0200 Subject: [PATCH] Avoid an error message due to the lack of the 'sync' command. --- git-repack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-repack.sh b/git-repack.sh index bf0bdcf4ff..acb78ba86b 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -99,7 +99,7 @@ then # We know $existing are all redundant. if [ -n "$existing" ] then - sync + sync 2> /dev/null ( cd "$PACKDIR" && for e in $existing do