summaryrefslogtreecommitdiff
path: root/git-web--browse.sh
diff options
context:
space:
mode:
authorjaysoffian+git@gmail.com <jaysoffian+git@gmail.com>2008-02-11 10:57:34 -0500
committerJunio C Hamano <gitster@pobox.com>2008-02-11 12:22:18 -0800
commit8e08689959a78bb4f27e010fbd225b4bf3addadb (patch)
treef6e0f2a23a31262f78c626baece1b9947e72f1c5 /git-web--browse.sh
parent193ad4f63c511948050079ddbe8c9b7342bf85a4 (diff)
downloadgit-8e08689959a78bb4f27e010fbd225b4bf3addadb.tar.gz
git-web--browse: fix misplaced quote in init_browser_path()
git "config browser.$1.path" should be git config "browser.$1.path" Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-web--browse.sh')
-rwxr-xr-xgit-web--browse.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-web--browse.sh b/git-web--browse.sh
index 3ade500e0c..fbf29cbe16 100755
--- a/git-web--browse.sh
+++ b/git-web--browse.sh
@@ -34,7 +34,7 @@ valid_tool() {
}
init_browser_path() {
- browser_path=$(git "config browser.$1.path")
+ browser_path=$(git config "browser.$1.path")
test -z "$browser_path" && browser_path="$1"
}