From: Junio C Hamano Date: Mon, 28 Nov 2005 07:19:06 +0000 (-0800) Subject: tag: make it operable from a subdirectory. X-Git-Tag: v0.99.9l^2~23^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ea2fc47d258657d673ce3b9403ed98cc50e2600;p=git.git tag: make it operable from a subdirectory. Signed-off-by: Junio C Hamano --- diff --git a/git-tag.sh b/git-tag.sh index 16efc5b70..e71028695 100755 --- a/git-tag.sh +++ b/git-tag.sh @@ -1,7 +1,7 @@ #!/bin/sh # Copyright (c) 2005 Linus Torvalds -. git-sh-setup +GIT_DIR=`git-rev-parse --git-dir` || exit $? usage () { echo >&2 "Usage: git-tag [-a | -s | -u ] [-f | -d] [-m ] []"