[This is preliminary documentation and is subject to change.]

Flags for the diff2 command.

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

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 The -d flag deletes the specified stream (unless the stream is referenced by child streams or stream clients).
Context2 -dn RCS output.
Summary4 -dc[n] context
Unified8 -dc[n] context
IgnoreWhitespaceChanges16 -dc[n] context
IgnoreWhitespace32 -dc[n] context
IgnoreLineEndings64 -dc[n] context
Supress128 The -q omits files that have identical content and types and suppresses the actual diff for all files.
DiffBinary256 The -t flag forces 'p4 diff2' to diff binary files.
GNU512 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