Flags for the diff2 command.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)

Syntax

C#
[FlagsAttribute]
public enum GetDepotFileDiffsCmdFlags
Visual Basic
<FlagsAttribute> _
Public Enumeration GetDepotFileDiffsCmdFlags
Visual C++
[FlagsAttribute]
public enum class GetDepotFileDiffsCmdFlags

Members

Member nameValueDescription
None0 No flags.
RCS1 -dn RCS output
Context2 -dc[n] context
Summary4 -ds summary
Unified8 -du[n] unified
IgnoreWhitespaceChanges16 -db ignore whitespace changes
IgnoreWhitespace32 -dw ignore whitespace
IgnoreLineEndings64 -dl ignore line endings
Limit128 The -Od flag limits output to files that differ.
Supress256 The -q omits files that have identical content and types and suppresses the actual diff for all files.
DiffBinary512 The -t flag forces 'p4 diff2' to diff binary files.
GNU1024 The -u flag uses the GNU diff -u format and displays only files that differ. The file names and dates are in Perforce syntax, but but the output can be used by the patch program.

See Also