summaryrefslogtreecommitdiff
path: root/git-web--browse.sh
diff options
context:
space:
mode:
authorjaysoffian+git@gmail.com <jaysoffian+git@gmail.com>2008-02-11 15:57:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-11 20:22:18 (GMT)
commit8e08689959a78bb4f27e010fbd225b4bf3addadb (patch)
treef6e0f2a23a31262f78c626baece1b9947e72f1c5 /git-web--browse.sh
parent193ad4f63c511948050079ddbe8c9b7342bf85a4 (diff)
downloadgit-8e08689959a78bb4f27e010fbd225b4bf3addadb.zip
git-8e08689959a78bb4f27e010fbd225b4bf3addadb.tar.gz
git-8e08689959a78bb4f27e010fbd225b4bf3addadb.tar.bz2
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 3ade500..fbf29cb 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"
}