aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-rebase.txt
diff options
context:
space:
mode:
authorRohit Ashiwal <rohit.ashiwal265@gmail.com>2019-11-01 19:30:02 +0530
committerJunio C Hamano <gitster@pobox.com>2019-11-02 15:37:12 +0900
commit08187b4cbac2b2f870bb9c786d545b67f0262f74 (patch)
tree3c983f7377480a3df4894ea1016d38fe798e7de8 /Documentation/git-rebase.txt
parent0185c683c90baed447e96c18aafb705c91012b25 (diff)
downloadgit-08187b4cbac2b2f870bb9c786d545b67f0262f74.tar.gz
rebase -i: support --ignore-date
rebase am already has this flag to "lie" about the author date by changing it to the committer (current) date. Let's add the same for interactive machinery. Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rebase.txt')
-rw-r--r--Documentation/git-rebase.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index b137d4f615..9a1eabad0f 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -391,8 +391,8 @@ See also INCOMPATIBLE OPTIONS below.
as the committer date. This implies --force-rebase.
--ignore-date::
- This flag is passed to 'git am' to change the author date
- of each rebased commit (see linkgit:git-am[1]).
+ Instead of using the given author date, reset it to the
+ current time. This implies --force-rebase.
+
See also INCOMPATIBLE OPTIONS below.
@@ -529,7 +529,6 @@ INCOMPATIBLE OPTIONS
The following options:
- * --ignore-date
* --whitespace
* -C
@@ -555,6 +554,7 @@ In addition, the following pairs of options are incompatible:
* --preserve-merges and --rebase-merges
* --preserve-merges and --ignore-whitespace
* --preserve-merges and --committer-date-is-author-date
+ * --preserve-merges and --ignore-date
* --rebase-merges and --strategy
* --rebase-merges and --strategy-option