diff options
author | Elijah Newren <newren@gmail.com> | 2018-12-11 08:11:35 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-28 12:49:48 -0800 |
commit | 45339f74ef87123ab79831310bf8047cebe5177b (patch) | |
tree | 14111c37d5934fd02e6e7556a3c4269038dc6f33 /t/t9828-git-p4-map-user.sh | |
parent | t5407: add a test demonstrating how interactive handles --skip differently (diff) | |
download | tgif-45339f74ef87123ab79831310bf8047cebe5177b.tar.xz |
am, rebase--merge: do not overlook --skip'ed commits with post-rewrite
The post-rewrite hook is supposed to be invoked for each rewritten
commit. The fact that a commit was selected and processed by the rebase
operation (even though when we hit an error a user said it had no more
useful changes), suggests we should write an entry for it. In
particular, let's treat it as an empty commit trivially squashed into
its parent.
This brings the rebase--am and rebase--merge backends in sync with the
behavior of the interactive rebase backend.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9828-git-p4-map-user.sh')
0 files changed, 0 insertions, 0 deletions