URI: 
       don't use a heuristic for renames, the content must match exactly - stagit-gopher - A git gopher frontend. (mirror)
  HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit 89e38eb68278966aee0d5597a683a299af2484b1
   DIR parent ad04b34bd289301b0331841176e7ac1483ad8fe1
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Fri, 23 Nov 2018 12:47:58 +0100
       
       don't use a heuristic for renames, the content must match exactly
       
       this prevents showing files as renames when most (but not all) of the file was
       changed.
       
       Diffstat:
         M stagit-gopher.c                     |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/stagit-gopher.c b/stagit-gopher.c
       @@ -171,7 +171,9 @@ commitinfo_getstats(struct commitinfo *ci)
        
                if (git_diff_find_init_options(&fopts, GIT_DIFF_FIND_OPTIONS_VERSION))
                        goto err;
       -        fopts.flags |= GIT_DIFF_FIND_RENAMES | GIT_DIFF_FIND_COPIES;
       +        /* find renames and copies, exact matches (no heuristic) for renames. */
       +        fopts.flags |= GIT_DIFF_FIND_RENAMES | GIT_DIFF_FIND_COPIES |
       +                       GIT_DIFF_FIND_EXACT_MATCH_ONLY;
                if (git_diff_find_similar(ci->diff, &fopts))
                        goto err;