Code

check-attr: Add --stdin option
[git.git] / Documentation / git-check-attr.txt
1 git-check-attr(1)
2 =================
4 NAME
5 ----
6 git-check-attr - Display gitattributes information.
9 SYNOPSIS
10 --------
11 'git check-attr' attr... [--] pathname...
12 'git check-attr' --stdin [-z] attr... < <list-of-paths
14 DESCRIPTION
15 -----------
16 For every pathname, this command will list if each attr is 'unspecified',
17 'set', or 'unset' as a gitattribute on that pathname.
19 OPTIONS
20 -------
21 --stdin::
22         Read file names from stdin instead of from the command-line.
24 -z::
25         Only meaningful with `--stdin`; paths are separated with
26         NUL character instead of LF.
28 \--::
29         Interpret all preceding arguments as attributes, and all following
30         arguments as path names. If not supplied, only the first argument will
31         be treated as an attribute.
34 SEE ALSO
35 --------
36 linkgit:gitattributes[5].
39 Author
40 ------
41 Written by Junio C Hamano <gitster@pobox.com>
43 Documentation
44 --------------
45 Documentation by James Bowes.
47 GIT
48 ---
49 Part of the linkgit:git[1] suite