Skip to content

Commit 738cf3f

Browse files
author
Stephan
committed
try speeding up status (see #156)
1 parent 4a442f3 commit 738cf3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

asyncgit/src/sync/status.rs

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ pub fn get_status(
9797
let statuses = repo.statuses(Some(
9898
StatusOptions::default()
9999
.show(status_type.into())
100+
.update_index(true)
100101
.include_untracked(include_untracked)
101102
.renames_head_to_index(true)
102103
.recurse_untracked_dirs(true),

0 commit comments

Comments
 (0)