Skip to content

Commit 9ce7100

Browse files
committed
Merge branch 'fr/sequencer-fail-with-not-one-upon-no-ff'
* fr/sequencer-fail-with-not-one-upon-no-ff: sequencer: signal failed ff as an aborted, not a conflicted merge
2 parents 786a89d + 43dee07 commit 9ce7100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequencer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static int fast_forward_to(const unsigned char *to, const unsigned char *from,
278278

279279
read_cache();
280280
if (checkout_fast_forward(from, to, 1))
281-
exit(1); /* the callee should have complained already */
281+
exit(128); /* the callee should have complained already */
282282
ref_lock = lock_any_ref_for_update("HEAD", unborn ? null_sha1 : from,
283283
0, NULL);
284284
if (!ref_lock)

0 commit comments

Comments
 (0)