Change git branch command line like CPython

This commit is contained in:
ChJR committed 2019-10-06 17:39:11 +09:00
1 parent f391eba640
commit 0808f47210
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ fn git_tag() -> String {
}
fn git_branch() -> String {
git(&["rev-parse", "--abbrev-ref", "HEAD"])
git(&["name-rev", "--name-only", "HEAD"])
}
fn git(args: &[&str]) -> String {