Display a commit description.
p4 describe -n //repo/name
[-a -doptions -s]
sha
Display information about the specified commit.
-n
sha is the corresponding sha1 of the commit
-a |
Display the content of added files in addition to diff of updated files. |
|
Passes one or more options to the built-in diff routine to modify the output |
|
Display a shortened output that excludes the diffs of the files that were updated. |
The diff options supported by p4 describe
are:
Option | Name |
---|---|
|
RCS output format, showing additions and deletions made to the file and associated line ranges. |
|
context output format, showing line number ranges and num lines of context around the changes. |
|
summary output format, showing only the number of chunks and lines added, deleted, or changed. |
|
unified output format, showing added and deleted lines with
num lines of context, in a form compatible with the
|
|
ignore line-ending (CR/LF) convention when finding diffs |
|
ignore changes made within whitespace; this option implies
|
|
ignore whitespace altogether; this option implies
|
p4 describe
-n //repo/name SHA1
where SHA1
represents the commit SHA1
that is created after the submit occurs. A changelist that is pending does not yet have a SHA1
.