summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e75d56)
raw | patch | inline | side by side (parent: 5e75d56)
author | Michele Ballabio <barra_cuda@katamail.com> | |
Wed, 18 Mar 2009 20:53:49 +0000 (21:53 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Mar 2009 02:25:01 +0000 (19:25 -0700) |
Add the options --committer-date-is-author-date and --ignore-date
to git-rebase. They were introduced in commit a79ec62d0 for git-am.
These options imply --force-rebase.
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
to git-rebase. They were introduced in commit a79ec62d0 for git-am.
These options imply --force-rebase.
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt | patch | blob | history | |
git-rebase.sh | patch | blob | history |
index 276f1510c600e9535a750beceaa90ec0c8273389..3d5a066c31675e502eb027dde824d1966c9c0f09 100644 (file)
(see linkgit:git-apply[1]) that applies the patch.
Incompatible with the --interactive option.
+--committer-date-is-author-date::
+--ignore-date::
+ These flags are passed to 'git-am' to easily change the dates
+ of the rebased commits (see linkgit:git-am[1]).
+
-i::
--interactive::
Make a list of the commits which are about to be rebased. Let the
diff --git a/git-rebase.sh b/git-rebase.sh
index d38ab0b83fd46e4b3f7c0e81bc97a4b313925786..0ade6992289a807a268ad887d8a71ba54a87cf49 100755 (executable)
--- a/git-rebase.sh
+++ b/git-rebase.sh
;;
esac
;;
+ --committer-date-is-author-date|--ignore-date)
+ git_am_opt="$git_am_opt $1"
+ force_rebase=t
+ ;;
-C*)
git_am_opt="$git_am_opt $1"
;;