From cea48c108a7c2dcfac16232741e9522bc3ec0a81 Mon Sep 17 00:00:00 2001 From: "Hatter Jiang@Pixelbook" Date: Sat, 25 Jul 2020 21:45:01 +0800 Subject: [PATCH] fix: check_git_status() --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git.rs b/src/git.rs index e540731..e2f80f3 100644 --- a/src/git.rs +++ b/src/git.rs @@ -31,7 +31,7 @@ pub fn check_git_status() -> bool { }, Ok(stdout) => if [ "Changes not staged for commit", - "Yourbranch is ahead of", + "Your branch is ahead of", "Untracked files" ].iter().any(|s| stdout.contains(s)) { warn!("Std out check failed git status: {}", stdout); return false;