summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a08b650)
raw | patch | inline | side by side (parent: a08b650)
author | Petr Baudis <pasky@suse.cz> | |
Fri, 21 Oct 2005 00:28:42 +0000 (02:28 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 21 Oct 2005 05:32:07 +0000 (22:32 -0700) |
The git-am script is nowhere called and nowhere (including itself)
explained, and the name isn't helpful either. For those like me who will
wonder what is it about, add some documentation stub for it to the
documentation.
I probably got something wrong and I don't feel like investigating all the
options - this is just kind of "emergency" docs.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
explained, and the name isn't helpful either. For those like me who will
wonder what is it about, add some documentation stub for it to the
documentation.
I probably got something wrong and I don't feel like investigating all the
options - this is just kind of "emergency" docs.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-am.txt | [new file with mode: 0644] | patch | blob |
Documentation/git-applymbox.txt | patch | blob | history | |
git-applymbox.sh | patch | blob | history |
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
--- /dev/null
+++ b/Documentation/git-am.txt
@@ -0,0 +1,51 @@
+git-am(1)
+================
+
+NAME
+----
+git-am - Apply a series of patches in a mailbox
+
+
+SYNOPSIS
+--------
+'git-am' [--signoff] [--dotest=<dir>] [--utf8] [--3way] <mbox>
+'git-am' [--skip]
+
+DESCRIPTION
+-----------
+Splits mail messages in a mailbox into commit log message,
+authorship information and patches, and applies them to the
+current branch.
+
+This is the replacement for the 'git-applymbox' script.
+Unlike git-applymbox, it can take more than one mailbox file from
+the command line, as well as reading from the standard input when
+'-' is specified. Other differences include changed parameter names
+and less descriptive command name.
+
+
+When initially invoking it, you give it name of the mailbox to crunch.
+The usage hints that it might get interrupted and you will want to
+resume the last round of applying - to do that, pass it no mailbox
+name, and optionally the mysterious '--skip' parameter.
+
+
+SEE ALSO
+--------
+gitlink:git-applymbox[1], gitlink:git-applypatch[1].
+
+
+Author
+------
+Written by Junio C Hamano <junkio@cox.net>
+
+Documentation
+--------------
+Documentation by Petr Baudis, Junio C Hamano and the git-list <git@vger.kernel.org>.
+
+This manual page is a stub. You can help the git documentation by expanding it.
+
+GIT
+---
+Part of the gitlink:git[7] suite
+
index 8f01ca6a16a21fc5697d90be898dd7af05a54bee..f74c6a49b3c5d52ed662a83832c7d06915fac65b 100644 (file)
SEE ALSO
--------
-gitlink:git-applypatch[1].
+gitlink:git-am[1], gitlink:git-applypatch[1].
Author
diff --git a/git-applymbox.sh b/git-applymbox.sh
index 4e77132ab5f73839241c430d6354d5abb8294d85..6de6932879e9f1298f69e2826f13e1ee231ecea0 100755 (executable)
--- a/git-applymbox.sh
+++ b/git-applymbox.sh
## Pay a special attention to the commit log message if you do this and
## use a Signoff_file, because applypatch wants to append the sign-off
## message to msg-clean every time it is run.
+##
+## git-am is supposed to be the newer and better tool for this job.
. git-sh-setup || die "Not a git archive"