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 | GIT 0.99.9f (diff) | |
| parent | Make git-recursive the default strategy for git-pull. (diff) | |
| download | git-0.99.9g.tar.gz git-0.99.9g.zip | |
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 ;; |
