Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
web--browse: Add a few quotes in 'init_browser_path'.
author
Christian Couder
<chriscool@tuxfamily.org>
Sat, 9 Feb 2008 06:11:01 +0000
(07:11 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 10 Feb 2008 07:46:07 +0000
(23:46 -0800)
These changes were made to the 'init_browser_path' function in
'git-instaweb.sh', but was not in 'git-web--browse.sh'.
[jc: the quoting was screwy and did not quote $1 correctly, so
I fixed it up.]
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-web--browse.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b261ec4
)
diff --git
a/git-web--browse.sh
b/git-web--browse.sh
index 2c51f361d17064ef9daeb6168bef9adf91cc0e4b..3ade500e0c4bcdbd06809f3b4e03d087498bd3b7 100755
(executable)
--- a/
git-web--browse.sh
+++ b/
git-web--browse.sh
@@
-34,8
+34,8
@@
valid_tool() {
}
init_browser_path() {
- browser_path=
`git config browser.$1.path`
- test -z "$browser_path" && browser_path=
$1
+ browser_path=
$(git "config browser.$1.path")
+ test -z "$browser_path" && browser_path=
"$1"
}
while test $# != 0