How to create patch statistics?
Sorry to ask such a n00b question, but how do you create the patch statistics that many people show at the top of a patch set? I couldn’t see it the the SubmittingPatches doc and google didn’t help (or I don’t know what to look for ;)
Cheers,
Mark
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Quoted 5 lines · Mark Underwood
Sorry to ask such a n00b question, but how do you create the patch statistics that many people show at the top of a patch set? I couldn’t see it the the SubmittingPatches doc and google didn’t help (or I don’t know what to look for ;)
use 'diffstat'
most distros have a package for it.
it's home is here (is this current?):
http://invisible-island.net/diffstat/
Signature · 1 line
~Randy
Quoted 5 lines · Mark Underwood
Sorry to ask such a n00b question, but how do you create the patch statistics that many people show at the top of a patch set? I couldn’t see it the the SubmittingPatches doc and google didn’t help (or I don’t know what to look for ;)
diffstat -p1 -w72 /path/to/patch
Quoted 3 lines
Cheers,
Mark
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedThanks for all your quick responses.
Cheers,
Mark
Quoted 10 lines · --- Adrian Bunk
Quoted 2 lines · Mark Underwood
Sorry to ask such a n00b question, but how do you create the patch statistics that many people show
at
Quoted 3 lines
the top of a patch set? I couldn’t see it the the SubmittingPatches doc and google didn’t help (or I don’t know what to look for ;)
Quoted 20 lines
diffstat -p1 -w72 /path/to/patch
Quoted 3 lines
Cheers,
Mark
cu
AdrianSignature · 7 lines
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com