Continue rather than return when encountering delete branch in pre-push
This commit is contained in:
parent
d7589752a9
commit
822249a49a
@ -62,7 +62,7 @@ func prePushCommand(cmd *cobra.Command, args []string) {
|
|||||||
|
|
||||||
left, right := decodeRefs(line)
|
left, right := decodeRefs(line)
|
||||||
if left == prePushDeleteBranch {
|
if left == prePushDeleteBranch {
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// Just use scanner here
|
// Just use scanner here
|
||||||
|
Loading…
Reference in New Issue
Block a user