p4 diff (graph)

Diff utility for comparing workspace content to repo content. (For comparing two repo paths, see p4 diff2 (graph).)

Syntax

p4 diff [-doptions -soptions file ...]

Description

On the client machine, diff a client file against the corresponding revision in the repo. The file is compared only if the file is opened for edit. If the file specification is omitted, all open files are diffed.

Options

-doptions

Pass options to the underlying diff routine.