~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to Documentation/diff-options.txt

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-04-22 13:31:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20070422133105-xg8fnm18r2cxcbg1
Tags: upstream-1.5.1.2
ImportĀ upstreamĀ versionĀ 1.5.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
--numstat::
20
20
        Similar to \--stat, but shows number of added and
21
21
        deleted lines in decimal notation and pathname without
22
 
        abbreviation, to make it more machine friendly.
 
22
        abbreviation, to make it more machine friendly.  For
 
23
        binary files, outputs two `-` instead of saying
 
24
        `0 0`.
 
25
 
 
26
--shortstat::
 
27
        Output only the last line of the --stat format containing total
 
28
        number of modified files, as well as number of added and deleted
 
29
        lines.
23
30
 
24
31
--summary::
25
32
        Output a condensed summary of extended header information
51
58
        Turn off rename detection, even when the configuration
52
59
        file gives the default to do so.
53
60
 
 
61
--check::
 
62
        Warn if changes introduce trailing whitespace
 
63
        or an indent that uses a space before a tab.
 
64
 
54
65
--full-index::
55
66
        Instead of the first handful characters, show full
56
67
        object name of pre- and post-image blob on the "index"
129
140
-a::
130
141
        Shorthand for "--text".
131
142
 
 
143
--ignore-space-at-eol::
 
144
        Ignore changes in white spaces at EOL.
 
145
 
 
146
--ignore-space-change::
 
147
        Ignore changes in amount of white space.  This ignores white
 
148
        space at line end, and consider all other sequences of one or
 
149
        more white space characters to be equivalent.
 
150
 
 
151
-b::
 
152
        Shorthand for "--ignore-space-change".
 
153
 
 
154
--ignore-all-space::
 
155
        Ignore white space when comparing lines.  This ignores
 
156
        difference even if one line has white space where the other
 
157
        line has none.
 
158
 
 
159
-w::
 
160
        Shorthand for "--ignore-all-space".
 
161
 
 
162
--exit-code::
 
163
        Make the program exit with codes similar to diff(1).
 
164
        That is, it exits with 1 if there were differences and
 
165
        0 means no differences.
 
166
 
 
167
--quiet::
 
168
        Disable all output of the program. Implies --exit-code.
 
169
 
132
170
For more detailed explanation on these common options, see also
133
171
link:diffcore.html[diffcore documentation].