Thread (2 messages) flat view 2 messages, 2 authors, 2022-09-20

Re: [PATCH] sequencer: avoid dropping fixup commit that targets self via commit-ish

From: Johannes Altmanninger <hidden>
Date: 2022-09-20 03:27:49

Possibly related (same subject, not in this thread)

On Mon, Sep 19, 2022 at 04:09:57PM -0700, Junio C Hamano wrote:
Johannes Altmanninger [off-list ref] writes:
quoted
+test_expect_success 'auto squash of fixup commit that matches branch name which points back to fixup commit' '
...
+	sed -ne "/^[^#]/{s/[0-9a-f]\{7,\}/HASH/g;p}" tmp >actual &&
FWIW I copied and adapted this one from the remerge-diff tests.  Not sure
what other tests use. Maybe the HASH replacement is worth a test helper even
though it is a heuristic that can go wrong.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help