Revert "We do not like "HEAD" as a new branch name"
[gitweb.git] / git-tag.sh
index 16efc5b70ac7ea4f0770530845e35091e71feab6..6d0c973239a1b72bbef43aa430f1ee534b7ab458 100755 (executable)
@@ -1,13 +1,10 @@
 #!/bin/sh
 # Copyright (c) 2005 Linus Torvalds
 
+USAGE='[-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <tagname> [<head>]'
+SUBDIRECTORY_OK='Yes'
 . git-sh-setup
 
-usage () {
-    echo >&2 "Usage: git-tag [-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <tagname> [<head>]"
-    exit 1
-}
-
 annotate=
 signed=
 force=