feat(git): replace git2 with git-repository (#3883)

This commit is contained in:
David Knaack
2022-08-09 04:33:00 +02:00
committed by GitHub
parent f614fcdc1f
commit ac55a01d0f
10 changed files with 871 additions and 182 deletions
+1
View File
@@ -34,6 +34,7 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
//Return None if not in git repository
context.get_repo().ok()?;
if let Some(git_status) = git_status_wsl(context, &config) {
if git_status.is_empty() {
return None;