From 82bd3725a2228b69be52a5e538c8e031a55cc1f3 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 6 Aug 2024 11:58:50 -0400 Subject: [PATCH] Generate PR diffs properly --- emacs/.emacs.d/config/init-git.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-git.el b/emacs/.emacs.d/config/init-git.el index b790b1a..4e162f3 100644 --- a/emacs/.emacs.d/config/init-git.el +++ b/emacs/.emacs.d/config/init-git.el @@ -70,7 +70,7 @@ (interactive) (let ((target forge--buffer-base-branch) (source forge--buffer-head-branch)) - (magit-diff-range (format "%s..%s" source target)))) + (magit-diff-range (format "%s..%s" target source)))) (add-hook 'forge-create-pullreq-hook #'forge-diff-for-pr) :custom (forge-owned-accounts '((jdormit . (remote-name "jdormit"))))