mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
merge_helpers: allow adding extra args to revert_last
Change-Id: I5ef98b8130fe373d5a9f3d469140117c4570906e
This commit is contained in:
parent
b0d09313e7
commit
a51b44a40d
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue