summaryrefslogtreecommitdiff
path: root/git-instaweb.sh
diff options
context:
space:
mode:
authorKyle J. McKay <mackyle@gmail.com>2015-03-07 21:04:09 -0800
committerJunio C Hamano <gitster@pobox.com>2015-03-10 15:10:33 -0700
commit130e475e1f8aa72e48dde43159a28232ff31fee6 (patch)
tree8600f57386aa4ca9f7539f129a2cf3737e67635d /git-instaweb.sh
parent1165ae6f3d42e0eb0ddfc2d4e6dfa8bd0b88eb60 (diff)
downloadgit-130e475e1f8aa72e48dde43159a28232ff31fee6.tar.gz
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 'git-instaweb.sh')
-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"