Lobbying for -p1 diffs

Matthew D. Fuller fullermd at over-yonder.net
Wed Mar 1 23:23:04 GMT 2006


On Thu, Mar 02, 2006 at 10:10:32AM +1100 I heard the voice of
Michael Ellerman, and lo! it spake thus:
> 
> But seriously, what's your objection to -p1 ? You don't have a '1'
> key ?

Heck yeah.  It takes forever to type
% patch -p`sh -c 'echo $((3-2))'`


But more, it's:

- Why should I *HAVE* to type a -p to patch, when I just made the
  diff?  -p is for munging diffs from other sources when necessary,
  not as a standard step for your own!

And more immediately,

- 95% or better of my use of diff isn't intended for patch, it's
  intended for my eyes.  Having those extra dirs there means I need to
  stop, and carefully read and interpret those lines to figure out
  what they mean, instead of just a quick glance to tell me where I
  am.



-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.




More information about the bazaar mailing list