We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6d445 commit d4a7c53Copy full SHA for d4a7c53
README.md
@@ -1,2 +1 @@
1
-# git-head-name
2
-A small binary to get the Git workdir branch or head hash.
+111
src/main.rs
@@ -67,7 +67,8 @@ fn main() {
67
}
68
Some(x)
69
if MODIFY_STATUS.contains(&x)
70
- || MODIFY_STATUS.contains(&format!("{x} ").as_str()) =>
+ || MODIFY_STATUS.contains(&&x[..1])
71
+ || MODIFY_STATUS.contains(&&x[1..2]) =>
72
{
73
println!("{s}");
74
status = 6;
0 commit comments