Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove some external context from git status test
Mikayla Maki9800a149a614
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rsindex 0d4a02775d7..a970067230b 100644--- a/crates/project/src/worktree.rs+++ b/crates/project/src/worktree.rs@@ -3556,6 +3556,7 @@ impl<'a> TryFrom<(&'a CharBag, proto::Entry)> for Entry {mod tests {use super::*;use fs::{FakeFs, RealFs};+ use git2::Signature;use gpui::{executor::Deterministic, TestAppContext};use pretty_assertions::assert_eq;use rand::prelude::*;@@ -3894,7 +3895,7 @@ mod tests {#[track_caller]fn git_commit(msg: &'static str, repo: &git2::Repository) {- let signature = repo.signature().unwrap();+ let signature = Signature::now("test", "[email protected]").unwrap();let oid = repo.index().unwrap().write_tree().unwrap();let tree = repo.find_tree(oid).unwrap();if let Some(head) = repo.head().ok() {