rc/tools/git: enable <ret> to diff-jump

As we require diff here, it make using git log -p very convenient to go
to the source files.
This commit is contained in:
Willow Barraco 2023-09-12 10:15:33 +02:00
parent 01fd6552af
commit 527a897584
No known key found for this signature in database
GPG Key ID: EABA44759877E02A

View File

@ -95,7 +95,7 @@ define-command -params 1.. \
diff) map_diff_goto_source=true; filetype=diff ;;
show) map_diff_goto_source=true; filetype=git-log ;;
show-branch) filetype=git-show-branch ;;
log) filetype=git-log ;;
log) map_diff_goto_source=true; filetype=git-log ;;
status) filetype=git-status ;;
*) return 1 ;;
esac