try speeding up status (see #156)

This commit is contained in:
Stephan 2020-06-29 14:11:23 +02:00
parent 4a442f3829
commit 738cf3fab4

View file

@ -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),