Skip to content

Commit

Permalink
Fix grc / forgit revert_commit (#305)
Browse files Browse the repository at this point in the history
This was accidentally broken since 450615d due to a wrong git call.
  • Loading branch information
carlfriedrich committed May 7, 2023
1 parent e8ad636 commit f74aa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-forgit
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f74aa93

Please sign in to comment.