another undo patch: a feature request and implementation, should it be of interest

Joel K. Pettersson joelkpettersson at
Sun Mar 22 18:27:07 PDT 2009

> This patch does not change the usage notice nor documentation, so this
> remains to do. (and perhaps stylistic or other changes if the code is
> not up to your standards or I messed up somewhere)

I did mess something up, namely parameter handling of new option in
main() - the kludge around getopt was incomplete, and so, while the
use examples in the previous mail would work, reordering them like
this wouldn't:

undo -d -3 -2

Instead, that became equivalent to:

undo -d -32

This fixed in new patch.

 -  Joel K. Pettersson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00002.bin
Type: application/octet-stream
Size: 3685 bytes
Desc: "Description: Binary data"
URL: <>

More information about the Submit mailing list