From 4b58160b8c546339b50e873b6c2c337d333fabdb Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 25 Oct 2009 19:47:44 +0100 Subject: [PATCH] git-update-mirror: Remove a useless sed(1) call The sed(1) command in question was a hangover which had no effect anymore. --- tools/git-update-mirror | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/git-update-mirror b/tools/git-update-mirror index 1c6eea5..e258a12 100755 --- a/tools/git-update-mirror +++ b/tools/git-update-mirror @@ -75,7 +75,7 @@ do git fetch --quiet --tags checkrefs 2 - find "$tempdir" -type 'f' -print | sed 's!^\./!!' | while read reffile + find "$tempdir" -type 'f' -print | while read reffile do ref=${reffile#$tempdir/} old=$(awk '$1 == "1" { print $2; exit }' "$reffile") -- 2.30.2