summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b261ec4)
raw | patch | inline | side by side (parent: b261ec4)
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-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 |
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
}
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