aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-range-diff.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-09-09 12:02:24 -0700
committerJunio C Hamano <gitster@pobox.com>2022-09-09 12:02:25 -0700
commit428dce9f4d70b44b61c19c36f3dbe5b3f58aeba2 (patch)
tree0200e7e6172df628030f2695958be23f074f81b0 /Documentation/git-range-diff.txt
parentMerge branch 'jk/tempfile-active-flag-cleanup' (diff)
parentrange-diff: optionally accept pathspecs (diff)
downloadgit-428dce9f4d70b44b61c19c36f3dbe5b3f58aeba2.tar.gz
git-428dce9f4d70b44b61c19c36f3dbe5b3f58aeba2.zip
Merge branch 'js/range-diff-with-pathspec'
Allow passing a pathspec to "git range-diff". * js/range-diff-with-pathspec: range-diff: optionally accept pathspecs range-diff: consistently validate the arguments range-diff: reorder argument handling
Diffstat (limited to 'Documentation/git-range-diff.txt')
-rw-r--r--Documentation/git-range-diff.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-range-diff.txt b/Documentation/git-range-diff.txt
index fe350d7f40..0b393715d7 100644
--- a/Documentation/git-range-diff.txt
+++ b/Documentation/git-range-diff.txt
@@ -12,6 +12,7 @@ SYNOPSIS
[--no-dual-color] [--creation-factor=<factor>]
[--left-only | --right-only]
( <range1> <range2> | <rev1>...<rev2> | <base> <rev1> <rev2> )
+ [[--] <path>...]
DESCRIPTION
-----------
@@ -19,6 +20,9 @@ DESCRIPTION
This command shows the differences between two versions of a patch
series, or more generally, two commit ranges (ignoring merge commits).
+In the presence of `<path>` arguments, these commit ranges are limited
+accordingly.
+
To that end, it first finds pairs of commits from both commit ranges
that correspond with each other. Two commits are said to correspond when
the diff between their patches (i.e. the author information, the commit