summaryrefslogtreecommitdiffstats
path: root/git-instaweb.sh
diff options
context:
space:
mode:
authorKyle J. McKay <mackyle@gmail.com>2015-03-08 06:04:09 +0100
committerJunio C Hamano <gitster@pobox.com>2015-03-10 23:10:33 +0100
commit130e475e1f8aa72e48dde43159a28232ff31fee6 (patch)
tree8600f57386aa4ca9f7539f129a2cf3737e67635d /git-instaweb.sh
parentGit 2.3.2 (diff)
downloadgit-130e475e1f8aa72e48dde43159a28232ff31fee6.tar.xz
git-130e475e1f8aa72e48dde43159a28232ff31fee6.zip
git-instaweb: allow running in a working tree subdirectory
Signed-off-by: Kyle J. McKay <mackyle@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-xgit-instaweb.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-instaweb.sh b/git-instaweb.sh
index 513efa662e..4c0af04fe9 100755
--- a/git-instaweb.sh
+++ b/git-instaweb.sh
@@ -20,6 +20,7 @@ start start the web server
restart restart the web server
"
+SUBDIRECTORY_OK=Yes
. git-sh-setup
fqgitdir="$GIT_DIR"