GetFileDiffsCmdFlags Enumeration
|
Flags for the diff command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum GetFileDiffsCmdFlags
<FlagsAttribute>
Public Enumeration GetFileDiffsCmdFlags
[FlagsAttribute]
public enum class GetFileDiffsCmdFlags
[<FlagsAttribute>]
type GetFileDiffsCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| RCS | 1 |
-dn RCS output
|
| Context | 2 |
-dc[n] context
|
| Summary | 4 |
-ds summary
|
| Unified | 8 |
-du[n] unified
|
| IgnoreWhitespaceChanges | 16 |
-db ignore whitespace changes
|
| IgnoreWhitespace | 32 |
-dw ignore whitespace
|
| IgnoreLineEndings | 64 |
-dl ignore line endings
|
| Limit | 128 |
The -Od flag limits output to files that differ.
|
| Force | 256 |
The -f flag diffs every file, regardless of whether they are opened
or the client has synced the specified revision. This option can be
used to verify the contents of the client workspace.
|
| OpenedDiff | 512 |
The -s options lists the files that satisfy the following criteria:
-sa Opened files that differ from the revision
in the depot or are missing.
Note that if a revision is provided in the file specification, the -s
options compare the file(s) regardless of whether they are opened
or the client has synced the specified revision.
|
| OpenedModified | 1024 |
The -s options lists the files that satisfy the following criteria:
-sb Files that have been opened for integrate, resolved,
and subsequently modified.
Note that if a revision is provided in the file specification, the -s
options compare the file(s) regardless of whether they are opened
or the client has synced the specified revision.
|
| UnopenedMissing | 2048 |
The -s options lists the files that satisfy the following criteria:
-sd Unopened files that are missing on the client.
Note that if a revision is provided in the file specification, the -s
options compare the file(s) regardless of whether they are opened
or the client has synced the specified revision.
|
| UnopenedDiff | 4096 |
The -s options lists the files that satisfy the following criteria:
-se Unopened files that differ from the revision in
the depot.
Note that if a revision is provided in the file specification, the -s
options compare the file(s) regardless of whether they are opened
or the client has synced the specified revision.
|
| AllUnopenedStatus | 8192 |
The -s options lists the files that satisfy the following criteria:
-sl Every unopened file, along with the status of
'same, 'diff', or 'missing' as compared to the
corresponding revision in the depot.
Note that if a revision is provided in the file specification, the -s
options compare the file(s) regardless of whether they are opened
or the client has synced the specified revision.
|
| OpenedNoDiffs | 16384 |
The -s options lists the files that satisfy the following criteria:
-sr Opened files that do not differ from the revision in
the depot.
Note that if a revision is provided in the file specification, the -s
options compare the file(s) regardless of whether they are opened
or the client has synced the specified revision.
|
| DiffFileStateFlags | 32256 |
All diff filestates
|
| DiffBinary | 512 |
The -t flag forces 'p4 diff' to diff binary files.
|
See Also