with minor hand resolving on git-tag.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-tag - Create a tag object signed with GPG
-
SYNOPSIS
--------
- 'git-tag' [-a | -s | -u <key-id>] [-f] [-m <msg>] <name>
-'git-tag' [-a | -s] [-f] [-m <msg>] <name> [<head>]
++'git-tag' [-a | -s | -u <key-id>] [-f] [-m <msg>] <name> [<head>]
DESCRIPTION
-----------
SIMPLE_LIB += -lnsl
endif
ifdef NO_STRCASESTR
- DEFINES += -Dstrcasestr=gitstrcasestr
+ DEFINES += -Dstrcasestr=gitstrcasestr -DNO_STRCASESTR=1
LIB_OBJS += compat/strcasestr.o
endif
+ifdef NO_MMAP
+ DEFINES += -Dmmap=gitfakemmap -Dmunmap=gitfakemunmap -DNO_MMAP
+ LIB_OBJS += compat/mmap.o
+endif
+ifdef NO_IPV6
+ DEFINES += -DNO_IPV6 -Dsockaddr_storage=sockaddr_in
+endif
ifdef PPC_SHA1
SHA1_HEADER = "ppc/sha1.h"
. git-sh-setup || die "Not a git archive"
usage () {
- echo >&2 "Usage: git-tag [-a | -s | -u <key-id>] [-f] [-m <msg>] <tagname>"
- echo >&2 "Usage: git-tag [-a | -s] [-f] [-m "tag message"] tagname [head]"
++ echo >&2 "Usage: git-tag [-a | -s | -u <key-id>] [-f] [-m <msg>] <tagname> [<head>]"
exit 1
}