Thread (15 messages) 15 messages, 4 authors, 2018-04-27

Re: [PATCH 1/3] rebase -i: demonstrate bug with fixup!/squash! commit messages

From: Eric Sunshine <hidden>
Date: 2018-04-20 19:31:16

On Fri, Apr 20, 2018 at 3:29 PM, Eric Sunshine [off-list ref] wrote:
On Fri, Apr 20, 2018 at 8:17 AM, Johannes Schindelin
[off-list ref] wrote:
quoted
+       test_must_fail env FAKE_LINES="1 fixup 2 fixup 4" \
+               git rebase -i HEAD~4 &&
+
+       : now there is a conflict, and comments in the commit message &&
+       git show HEAD >out &&
+       grep "This is a combination of" out &&
+
+       : skip and continue &&
+       git rebase --skip &&
I see that this test script doesn't utilize it, but do you want a

    test_when_finished "reset_rebase" &&

before starting the rebase to clean up in case something before "git
rebase --skip" fails?
Stated less ambiguously:

    ... in case something fails between "git rebase -i ..."
    and "git rebase --skip"?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help