merge_helpers: allow adding extra args to revert_last

Change-Id: I5ef98b8130fe373d5a9f3d469140117c4570906e
This commit is contained in:
SpiritCroc 2020-12-15 16:05:43 +01:00
parent b0d09313e7
commit a51b44a40d
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ find_last_commit_for_title() {
revert_last() {
local title="$1"
git revert --no-edit `find_last_commit_for_title "$title"`
shift
git revert --no-edit `find_last_commit_for_title "$title"` $@
}
require_clean_git() {