[p4] Stupid question - p4 describe with Unix diff summary output

Brad Holt brad.holt at autodesk.com
Thu Mar 8 15:57:13 PST 2007


Yeah, that seems to jibe well with at least in the simpler cases I could
generate.  It gets well confusing when this is mixed in with lots of
deletes and adds in the report.  In terms of total "churn" that they are
asking for, I think the thing to do will be to just take the higher of
these 2 numbers + lines deleted + lines added.

Thanks for the replies.  Glad that I wasn't the only one confused.

-----Original Message-----
From: Robert Cowham [mailto:robert at vaccaperna.co.uk] 
Sent: Thursday, March 08, 2007 3:50 PM
To: 'David Weintraub'; Brad Holt
Cc: perforce-user at perforce.com
Subject: RE: [p4] Stupid question - p4 describe with Unix diff summary
output

> > changed 6 chunks 56 / 6 lines

Last time I looked at this I seem to remember it means that in one
version
you had 56 lines and in the other 6 lines (but in this case also 6
chunks -
implying 1 line per chunk!).

So if you have:


1
2
3
4
5

Changed to

1
2
3a
3b
4
5


You get 1 chunk and 1 / 2 lines, i.e. 1 line becoming 2 lines.

Robert




More information about the perforce-user mailing list