git-web--browse: fix misplaced quote in init_browser_path()
authorjaysoffian+git@gmail.com <jaysoffian+git@gmail.com>
Mon, 11 Feb 2008 15:57:34 +0000 (10:57 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Feb 2008 20:22:18 +0000 (12:22 -0800)
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>
git-web--browse.sh

index 3ade500e0c4bcdbd06809f3b4e03d087498bd3b7..fbf29cbe16a4c6b5fd78b12e130e4b06199ead71 100755 (executable)
@@ -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"
 }