Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
verify-tag: make it operable from a subdirectory.
[gitweb.git]
/
git-tag.sh
diff --git
a/git-tag.sh
b/git-tag.sh
index 16efc5b70ac7ea4f0770530845e35091e71feab6..e71028695c935c6c757ac168f1c9a1670076b29d 100755
(executable)
--- 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 <key-id>] [-f | -d] [-m <msg>] <tagname> [<head>]"