[p4] How many lines of code have I written?
fcusack at fcusack.com
Thu Jan 21 09:27:15 PST 2010
On January 11, 2010 1:38:33 PM -0500 Chris Helck <Chris.Helck at us.icap.com>
> It would be nice if the output of p4 diff was compatible with GNU diff
> and diffstat in particular -- though perhaps this has changed, I'm stuck
> on P4 2007.1.
It is and always has been. Only the header line (indicating the files)
is different, and my guess is that this is because of variability on
where files can be in the depot vs where they are on the filesystem.
This does break diffstat but it's trivially fixable by wrapping p4 diff
and printing a compatible header line.
More information about the perforce-user