diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2021-11-02 21:30:51 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-03 10:44:45 -0700 |
commit | 9d6b9df128f842d2945e20e0760489ec6f3d2c0c (patch) | |
tree | 4a2031b1de1a211e15294f03d3b389eb91954f95 /t/t4100/t-apply-7.expect | |
parent | rebase -r: fix merge -c with a merge strategy (diff) | |
download | tgif-9d6b9df128f842d2945e20e0760489ec6f3d2c0c.tar.xz |
rebase -i: fix rewording with --committer-date-is-author-date
baf8ec8d3a (rebase -r: don't write .git/MERGE_MSG when
fast-forwarding, 2021-08-20) stopped reading the author script in
run_git_commit() when rewording a commit. This is normally safe
because "git commit --amend" preserves the authorship. However if the
user passes "--committer-date-is-author-date" then we need to read the
author date from the author script when rewording. Fix this regression
by tightening the check for when it is safe to skip reading the author
script.
Reported-by: Jonas Kittner <jonas.kittner@ruhr-uni-bochum.de>
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-7.expect')
0 files changed, 0 insertions, 0 deletions