mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Change git branch command line like CPython
This commit is contained in:
1 parent
f391eba640
commit
0808f47210
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user