# [PATCH] git-instaweb: allow running in a working tree subdirectory

1 messages from 2015-03-08 to 2015-03-08. Participants: Kyle J. McKay.
Thread: https://gitlist.dev/t/38747

## Kyle J. McKay, 2015-03-08 05:04

Subject: [PATCH] git-instaweb: allow running in a working tree subdirectory
Message-ID: <cbd51684029b73293740badfb3ee318@74d39fa044aa309eaea14b9f57fe79c>
URL: https://gitlist.dev/e/cbd51684029b73293740badfb3ee318%4074d39fa044aa309eaea14b9f57fe79c

```
Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
---
 git-instaweb.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/git-instaweb.sh b/git-instaweb.sh
index 513efa66..4c0af04f 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"
---

```
