소스 검색

git-update-mirror: Remove a useless sed(1) call

The sed(1) command in question was a hangover which had no effect
anymore.
Holger Weiss 16 년 전
부모
커밋
4b58160b8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/git-update-mirror

+ 1 - 1
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")