Merge branch 'js/maint-send-pack-stateless-rpc-deadlock-fix'
[gitweb.git] / Documentation / diff-config.txt
index 228329d4ad0565f1dd22a648107baf79de01ebd9..1aed79e7dc451f02e1b15dd0644c89fee6071703 100644 (file)
@@ -23,6 +23,14 @@ diff.dirstat::
        the amount of pure code movements within a file.  In other words,
        rearranging lines in a file is not counted as much as other changes.
        This is the default behavior when no parameter is given.
+`lines`;;
+       Compute the dirstat numbers by doing the regular line-based diff
+       analysis, and summing the removed/added line counts. (For binary
+       files, count 64-byte chunks instead, since binary files have no
+       natural concept of lines). This is a more expensive `--dirstat`
+       behavior than the `changes` behavior, but it does count rearranged
+       lines within a file as much as other changes. The resulting output
+       is consistent with what you get from the other `--*stat` options.
 `files`;;
        Compute the dirstat numbers by counting the number of files changed.
        Each changed file counts equally in the dirstat analysis. This is