explain reasoning behind spawn API
This commit is contained in:
parent
2270572cb4
commit
dca9fe0d94
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ impl GitInfo {
|
|||
}
|
||||
|
||||
// Ok, let's scrape some info
|
||||
// We use the command's spawn API to execute these commands concurrently, which leads to performance improvements.
|
||||
let mut git_log_cmd = helpers::git(Some(dir));
|
||||
let ver_date = git_log_cmd
|
||||
.arg("log")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue