(root: &Path, message: &str)
| 65 | } |
| 66 | |
| 67 | fn git_commit(root: &Path, message: &str) -> String { |
| 68 | git(root, &["add", "-A"]); |
| 69 | git(root, &["commit", "-qm", message]); |
| 70 | git(root, &["rev-parse", "HEAD"]) |
| 71 | } |
| 72 | |
| 73 | /// Run a Git command with stdin bytes and return trimmed stdout (for |
| 74 | /// plumbing like `hash-object --stdin`). |
no test coverage detected