git -> git3

This is needed for the editor.
This commit is contained in:
Conrad Irwin 2023-11-02 19:18:01 -06:00
parent 54969877a4
commit cbd902658c
9 changed files with 490 additions and 17 deletions

11
crates/git3/src/git.rs Normal file
View file

@ -0,0 +1,11 @@
use std::ffi::OsStr;
pub use git2 as libgit;
pub use lazy_static::lazy_static;
pub mod diff;
lazy_static! {
pub static ref DOT_GIT: &'static OsStr = OsStr::new(".git");
pub static ref GITIGNORE: &'static OsStr = OsStr::new(".gitignore");
}