Skip to content

Commit

Permalink
Use yank_sha in forgit_log
Browse files Browse the repository at this point in the history
  • Loading branch information
carlfriedrich committed Nov 4, 2023
1 parent 367404d commit 590029a
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 @@ -112,7 +112,7 @@ _forgit_log() {
$FORGIT_FZF_DEFAULT_OPTS
+s +m --tiebreak=index
--bind=\"enter:execute($enter_cmd)\"
--bind=\"ctrl-y:execute-silent(echo {} | $_forgit_extract_sha | ${FORGIT_COPY_CMD:-pbcopy})\"
--bind=\"ctrl-y:execute-silent($FORGIT yank_sha {})\"
--preview=\"$FORGIT log_preview \"{}\" $files\"
$FORGIT_LOG_FZF_OPTS
"
Expand Down

0 comments on commit 590029a

Please sign in to comment.