summaryrefslogtreecommitdiffstats
path: root/git-check-attr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-check-attr.txt')
-rw-r--r--git-check-attr.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/git-check-attr.txt b/git-check-attr.txt
index 84f41a8e8..6e4f3aaf3 100644
--- a/git-check-attr.txt
+++ b/git-check-attr.txt
@@ -9,8 +9,8 @@ git-check-attr - Display gitattributes information
SYNOPSIS
--------
[verse]
-'git check-attr' [-a | --all | <attr>...] [--] <pathname>...
-'git check-attr' --stdin [-z] [-a | --all | <attr>...]
+'git check-attr' [--source <tree-ish>] [-a | --all | <attr>...] [--] <pathname>...
+'git check-attr' --stdin [-z] [--source <tree-ish>] [-a | --all | <attr>...]
DESCRIPTION
-----------
@@ -36,6 +36,11 @@ OPTIONS
If `--stdin` is also given, input paths are separated
with a NUL character instead of a linefeed character.
+--source=<tree-ish>::
+ Check attributes against the specified tree-ish. It is common to
+ specify the source tree by naming a commit, branch or tag associated
+ with it.
+
\--::
Interpret all preceding arguments as attributes and all following
arguments as path names.