diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-09 21:09:43 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-09 21:09:43 -0800 |
commit | 23ea3e201cea0deea909569e08e950a9ec2345f7 (patch) | |
tree | 614520079f232d1459467b6e718182a8721aadd5 /git-tag.sh | |
parent | 5ca15b8af7f018b9ae9da30130f9dcd1a896e0b3 (diff) | |
parent | a1c292958f9968565f4048a17196d99fd16fc7ca (diff) |
GIT 0.99.9gv0.99.9g
Another snapshot, as slow and steady marth towards 1.0 continues.
Major changes include:
- Jim Radford's RPM split.
- Fredrik's recursive merge strategy is now default for two heads merge.
- Yaacov's SVN importer updates.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-tag.sh')
-rwxr-xr-x | git-tag.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/git-tag.sh b/git-tag.sh index 6130904a94..1375945307 100755 --- a/git-tag.sh +++ b/git-tag.sh @@ -4,7 +4,7 @@ . git-sh-setup || die "Not a git archive" usage () { - echo >&2 "Usage: git-tag [-a | -s | -u <key-id>] [-f] [-m <msg>] <tagname> [<head>]" + echo >&2 "Usage: git-tag [-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <tagname> [<head>]" exit 1 } @@ -37,6 +37,13 @@ do shift username="$1" ;; + -d) + shift + tag_name="$1" + rm "$GIT_DIR/refs/tags/$tag_name" && \ + echo "Deleted tag $tag_name." + exit $? + ;; -*) usage ;; |