diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-11-02 16:53:16 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-02 16:53:16 +0900 |
| commit | a00b1127ce09bb963590faaef342618f719e7cc4 (patch) | |
| tree | 7cc491da194a5961e35368c564c245faa5bcaa3d /sequencer.c | |
| parent | Merge branch 'ts/unpacklimit-config-fix' into maint-2.42 (diff) | |
| parent | sequencer: rectify empty hint in call of require_clean_work_tree() (diff) | |
| download | git-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.c | 2 |
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); |
