summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 61f2ceb)
raw | patch | inline | side by side (parent: 61f2ceb)
author | Holger Weiss <holger@zedat.fu-berlin.de> | |
Sun, 25 Oct 2009 18:47:44 +0000 (19:47 +0100) | ||
committer | Holger Weiss <holger@zedat.fu-berlin.de> | |
Sun, 25 Oct 2009 18:47:44 +0000 (19:47 +0100) |
The sed(1) command in question was a hangover which had no effect
anymore.
anymore.
tools/git-update-mirror | patch | blob | history |
index 1c6eea555e9745c94557c43229212d9e08e0903a..e258a1236f87eb4aa9640fb7f5d45fa9666ae074 100755 (executable)
--- a/tools/git-update-mirror
+++ b/tools/git-update-mirror
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")