explain reasoning behind spawn API

This commit is contained in:
bit-aloo 2025-06-17 18:27:06 +05:30
parent 2270572cb4
commit dca9fe0d94
No known key found for this signature in database

View file

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