pub async fn sync_commits(
project_dir: &Path,
since: Option<&str>,
) -> Result<SyncOutcome>Expand description
Synchronize commit links from git log by associating commits whose messages contain a PBI ID.
If since is set, use <since>..HEAD; otherwise use the full history. Match IDs as tokens, so
T-53 does not match T-531. Skip pinto bookkeeping commits whose subject starts with
pinto: and do not duplicate existing links.
Return Error::Git when Git is unavailable or the project is not a repository.