"branch-remove" level

This commit is contained in:
blinry 2020-11-13 12:27:15 +01:00
parent 3904abb6c4
commit 803f4f897a
3 changed files with 53 additions and 1 deletions
scenes

View file

@ -123,7 +123,7 @@ func dropped_on(other):
else:
argument = other.id
if (command.begins_with("git checkout") or command.begins_with("git rebase")) and argument.begins_with("refs/heads"):
if (command.begins_with("git checkout") or command.begins_with("git rebase") or command.begins_with("git branch -D")) and argument.begins_with("refs/heads"):
argument = Array(argument.split("/")).pop_back()
var arg_regex = RegEx.new()