summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Kyle J. McKay <mackyle@gmail.com>2015-03-07 21:04:09 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-10 15:10:33 -0700
commit130e475e1f8aa72e48dde43159a28232ff31fee6 (patch)
tree8600f57386aa4ca9f7539f129a2cf3737e67635d
parentGit 2.3.2 (diff)
downloadtgif-130e475e1f8aa72e48dde43159a28232ff31fee6.tar.xz
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>
-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"