author | Junio C Hamano <junkio@cox.net> | |
Mon, 10 Oct 2005 02:16:33 +0000 (19:16 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 10 Oct 2005 02:16:33 +0000 (19:16 -0700) |
with minor hand resolving on git-tag.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 | 2 | |||
---|---|---|---|---|
Documentation/git-tag.txt | patch | | diff1 | | diff2 | | blob | history |
Makefile | patch | | diff1 | | diff2 | | blob | history |
git-tag.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc Documentation/git-tag.txt
index 1eafeef473bc6e3159c48290ddd168d8f1e5c1ef,e11f51c266a76c6a5b09e99bc4900b64e640ea67..3984812cecc4453b4f3fb84f017f3cd4c50751cb
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
-----------
diff --cc Makefile
index a201187395d0102ab8b807d9ae78cb794c1df99a,b8ca504f095a68ef929af92127b1197c53120a6b..ac384c7dc484387b5f9fc6a65ef6cdbf2343cf9e
+++ b/Makefile
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"
diff --cc git-tag.sh
index 9afdf5cce7445c311452519602a57fac62f1168a,400bdb9843c4ea19d17b2450f1efd16ba93b0fb8..25c1a0e88e4402a5df1c7daeee2c993c491ca098
--- 1/git-tag.sh
--- 2/git-tag.sh
+++ b/git-tag.sh
. 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
}