(&self, _worktree: &Path, branch: &str, since: i64)
| 147 | } |
| 148 | |
| 149 | fn commit_log(&self, _worktree: &Path, branch: &str, since: i64) -> Option<String> { |
| 150 | // Delegate to the real repo so commit shas/times are authentic. |
| 151 | let out = Command::new(common::git_program()) |
| 152 | .args([ |
| 153 | "log", |
| 154 | branch, |
| 155 | "--pretty=%H %ct", |
| 156 | &format!("--since={since}"), |
| 157 | ]) |
| 158 | .current_dir(&self.real_repo) |
| 159 | .output() |
| 160 | .ok()?; |
| 161 | if !out.status.success() { |
| 162 | return None; |
| 163 | } |
| 164 | String::from_utf8(out.stdout).ok() |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | async fn open_seeded_db(repo: &Path) -> (TempDir, GlobalDb, String) { |
nothing calls this directly
no test coverage detected