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>
This commit is contained in:
Kyle J. McKay 2015-03-07 21:04:09 -08:00 committed by Junio C Hamano
parent 1165ae6f3d
commit 130e475e1f
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ start start the web server
restart restart the web server
"
SUBDIRECTORY_OK=Yes
. git-sh-setup
fqgitdir="$GIT_DIR"