projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eefaa4f
)
tag: make it operable from a subdirectory.
author
Junio C Hamano
<junkio@cox.net>
Mon, 28 Nov 2005 07:19:06 +0000
(23:19 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 29 Nov 2005 07:13:03 +0000
(23:13 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-tag.sh
patch
|
blob
|
history
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>]"