From: Jaroslav Kysela Date: Tue, 03 Jun 2008 14:59:22 GMT Subject: [PATCH] Keep committer and committer dates Message-ID: Hi all, I hope that you will find this patch useful. Please, CC: me (I'm not on git list). Full patch is also here: http://git.alsa-project.org/?p=git.git;a=commit;h=cbf280c58b11c9ea32095ad0e9f8823f29093a87 Thanks, Jaroslav =========== From cbf280c58b11c9ea32095ad0e9f8823f29093a87 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 3 Jun 2008 16:40:03 +0200 Subject: [PATCH] Keep committer and committer dates - am, rebase, mailinfo, format-patch Sometimes, it should be avoided to modify committer information when rebasing or shuffling patches. The --committer parameter was added to git-am and git-rebase. It implies next extensions to format-patch and mailinfo to store and extract X-Git-Committer / X-Git-CommitterDate e-mail headers. The git-rebase in this patch contains also --signoff for --continue action extension to allow signing of modified contents of patch. The git-am accepts --signresolved to pass this information. Signed-off-by: Jaroslav Kysela --- Documentation/git-am.txt | 15 +++++++++- Documentation/git-format-patch.txt | 5 +++ Documentation/git-rebase.txt | 14 ++++++++- builtin-log.c | 5 +++- builtin-mailinfo.c | 8 +++++- commit.h | 1 + git-am.sh | 51 +++++++++++++++++++++++++++++++++++- git-rebase.sh | 32 +++++++++++++++++----- log-tree.c | 3 +- pretty.c | 31 ++++++++++++++-------- 10 files changed, 138 insertions(+), 27 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 2387a8d..cd83c0e 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -10,10 +10,11 @@ SYNOPSIS -------- [verse] 'git-am' [--signoff] [--keep] [--utf8 | --no-utf8] - [--3way] [--interactive] [--binary] + [--3way] [--interactive] [--binary] [--committer] [--whitespace=