diff --git a/asyncgit/src/sync/status.rs b/asyncgit/src/sync/status.rs index 2a9f7915df..5897afe0d5 100644 --- a/asyncgit/src/sync/status.rs +++ b/asyncgit/src/sync/status.rs @@ -97,6 +97,7 @@ pub fn get_status( let statuses = repo.statuses(Some( StatusOptions::default() .show(status_type.into()) + .update_index(true) .include_untracked(include_untracked) .renames_head_to_index(true) .recurse_untracked_dirs(true),