Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-p4: After submission to p4 always synchronize from p4 again (into refs/remotes). Whether to rebase HEAD or not is still left as question to the end-user.
[gitweb.git]
/
git-ls-remote.sh
diff --git
a/git-ls-remote.sh
b/git-ls-remote.sh
index 3671f3433e82f7c54e09e90b411a63f1f068210d..b7e5d0458470248e65da0893b8b9bb4ced9152da 100755
(executable)
--- a/
git-ls-remote.sh
+++ b/
git-ls-remote.sh
@@
-82,7
+82,7
@@
rsync://* )
(cd $tmpdir && find refs -type f) |
while read path
do
- cat "$tmpdir/$path" | tr -d '\012'
+ tr -d '\012' <"$tmpdir/$path"
echo " $path"
done &&
rm -fr $tmpdir