summaryrefslogtreecommitdiffstats
path: root/src/watch/mirror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch/mirror.rs')
-rw-r--r--src/watch/mirror.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/watch/mirror.rs b/src/watch/mirror.rs
index 5a42a11..f38d7f8 100644
--- a/src/watch/mirror.rs
+++ b/src/watch/mirror.rs
@@ -111,10 +111,6 @@ mod tests {
use super::*;
/// A throwaway repo with these files committed, and its tip.
- ///
- /// Deliberately minimal: `read_tree` only ever needs a directory git will
- /// answer for, so the test does not stand up a mirror, a database or a
- /// config to ask it a question about one tree.
fn repo(files: &[(&str, &[u8])]) -> (std::path::PathBuf, String) {
let nonce = std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH).unwrap().as_nanos();
let dir = std::env::temp_dir().join(format!("aur-read-tree-{}-{}", std::process::id(), nonce));