aboutsummaryrefslogtreecommitdiffstats
path: root/sequencer.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-11-02 16:53:16 +0900
committerJunio C Hamano <gitster@pobox.com>2023-11-02 16:53:16 +0900
commita00b1127ce09bb963590faaef342618f719e7cc4 (patch)
tree7cc491da194a5961e35368c564c245faa5bcaa3d /sequencer.c
parentMerge branch 'ts/unpacklimit-config-fix' into maint-2.42 (diff)
parentsequencer: rectify empty hint in call of require_clean_work_tree() (diff)
downloadgit-a00b1127ce09bb963590faaef342618f719e7cc4.tar.gz
git-a00b1127ce09bb963590faaef342618f719e7cc4.zip
Merge branch 'ob/sequencer-empty-hint-fix' into maint-2.42
The use of API between two calls to require_clean_work_tree() from the sequencer code has been cleaned up for consistency. * ob/sequencer-empty-hint-fix: sequencer: rectify empty hint in call of require_clean_work_tree()
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 828efd589d..bc6b7b6a76 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -6229,7 +6229,7 @@ int complete_action(struct repository *r, struct replay_opts *opts, unsigned fla
if (checkout_onto(r, opts, onto_name, &oid, orig_head))
goto cleanup;
- if (require_clean_work_tree(r, "rebase", "", 1, 1))
+ if (require_clean_work_tree(r, "rebase", NULL, 1, 1))
goto cleanup;
todo_list_write_total_nr(&new_todo);