This commit is contained in:
2021-07-18 14:40:56 +02:00
parent 82757ef9eb
commit aa656d3a19
3 changed files with 11 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ async fn git_main(
};
let commit = match commitnameopt {
None => {match branchopt {
None => {GitRef::Branch("master".to_string())}
None => {GitRef::Head}
Some(s) => {GitRef::Branch(s)}
}}
Some(s) => {GitRef::Commit(s)}