Skip to content

Commit

Permalink
git-web--browse: fix misplaced quote in init_browser_path()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jaysoffian+git@gmail.com authored and Junio C Hamano committed Feb 11, 2008
1 parent 193ad4f commit 8e08689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-web--browse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 8e08689

Please sign in to comment.