Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Explicitly add the default "git pull" behaviour to .git/config on clone
[gitweb.git]
/
git-parse-remote.sh
diff --git
a/git-parse-remote.sh
b/git-parse-remote.sh
index 19bc3857d17b74324edbad58156a3e3c85fe0497..da064a53f666db52ce2341132a117355ad74d2a1 100755
(executable)
--- a/
git-parse-remote.sh
+++ b/
git-parse-remote.sh
@@
-116,7
+116,7
@@
expand_refs_wildcard () {
while read sha1 name
do
mapped=${name#"$from"}
- if test "z$name" != "z${name
#
'^{}'}" ||
+ if test "z$name" != "z${name
%
'^{}'}" ||
test "z$name" = "z$mapped"
then
continue