mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Fix grc / forgit revert_commit (#305)
This was accidentally broken since 450615d4 due to a wrong git call.
This commit is contained in:
parent
e8ad636ab0
commit
f74aa93232
|
|
@ -534,7 +534,7 @@ _forgit_branch_delete() {
|
|||
_forgit_revert_commit() {
|
||||
_forgit_inside_work_tree || return 1
|
||||
local git_revert cmd opts files preview commits IFS
|
||||
git_revert="git branch $FORGIT_REVERT_COMMIT_GIT_OPTS"
|
||||
git_revert="git revert $FORGIT_REVERT_COMMIT_GIT_OPTS"
|
||||
[[ $# -ne 0 ]] && { $git_revert "$@"; return $?; }
|
||||
|
||||
cmd="git log --graph --color=always --format='$_forgit_log_format' $* $_forgit_emojify"
|
||||
|
|
|
|||
Loading…
Reference in a new issue