Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-02-09 09:11:01 +0300
committerJunio C Hamano <gitster@pobox.com>2008-02-10 10:46:07 +0300
commit193ad4f63c511948050079ddbe8c9b7342bf85a4 (patch)
tree197673e805255aa2f9347397171d6cea0b03c2be /git-web--browse.sh
parentb261ec463a4c117aa7961fd3667ffafe0f9ee986 (diff)
web--browse: Add a few quotes in 'init_browser_path'.
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>
Diffstat (limited to 'git-web--browse.sh')
-rwxr-xr-xgit-web--browse.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-web--browse.sh b/git-web--browse.sh
index 2c51f361d1..3ade500e0c 100755
--- 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