Code

Fix a memory leak
[git.git] / git-instaweb.sh
index 8503ae40309e6c8b1547289c9950d99f4bf736b5..42d8d7fc6ee33546d6d7113c1c9025f90ef4db06 100755 (executable)
@@ -24,6 +24,7 @@ fqgitdir="$GIT_DIR"
 local="`git config --bool --get instaweb.local`"
 httpd="`git config --get instaweb.httpd`"
 browser="`git config --get instaweb.browser`"
+test -z "$browser" && browser="`git config --get web.browser`"
 port=`git config --get instaweb.port`
 module_path="`git config --get instaweb.modulepath`"