(root: &Path)
| 1557 | } |
| 1558 | |
| 1559 | fn repository_observation(root: &Path) -> Box<GitRepositoryObservation> { |
| 1560 | match observe_git(root).expect("observe") { |
| 1561 | GitObservation::Repository(observation) => observation, |
| 1562 | GitObservation::NoGit { .. } => panic!("expected Git repository"), |
| 1563 | } |
| 1564 | } |
| 1565 | |
| 1566 | fn checkpoint_for( |
| 1567 | observation: &GitRepositoryObservation, |