diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-28 08:33:54 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-29 08:13:03 +0100 |
commit | d165fa14f0a111dfc85d964ecc037d0b280cd54f (patch) | |
tree | 4e7244f27b394bc4f2fd84a677bda73e1231276c /git-tag.sh | |
parent | verify-tag: make it operable from a subdirectory. (diff) | |
download | git-d165fa14f0a111dfc85d964ecc037d0b280cd54f.tar.xz git-d165fa14f0a111dfc85d964ecc037d0b280cd54f.zip |
define die() for scripts that use it.
As a fallout from not using git-sh-setup in scripts that can
operate from a subdirectory, we lost definition of die() from
them. It might make sense to do some cleanup to consolidate
them back again, but this should suffice for now.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-tag.sh')
-rwxr-xr-x | git-tag.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git-tag.sh b/git-tag.sh index e71028695c..2435a75f7a 100755 --- a/git-tag.sh +++ b/git-tag.sh @@ -8,6 +8,11 @@ usage () { exit 1 } +die () { + echo >&2 "$*" + exit 1 +} + annotate= signed= force= |