branch: elpa/git-commit
commit 9a09823e56ccb1d9a63f0edeac260fbc9bd5025b
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-renamed-files: Fix recent regression
    
    [1: efb09e8d57] removed the "-M"/"--find-renames" argument because I
    thought there is no config setting that disables detection of renames.
    But there is, so we have to make sure we override it here.
    
    1: 2022-05-16 efb09e8d57818894b29d87eecfb09cdab2342b4a
       magit-renamed-files: Minor tweaks
---
 lisp/magit-git.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index d3b88d8461..356800d808 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -1105,6 +1105,7 @@ range.  Otherwise, it can be any revision or range 
accepted by
   (mapcar (pcase-lambda (`(,_status ,fileA ,fileB))
             (cons fileA fileB))
           (seq-partition (magit-git-items "diff" "-z" "--name-status"
+                                          "--find-renames"
                                           "--diff-filter=R" revA revB)
                          3)))
 

Reply via email to