Re: Suggested new feature for rcsdiff

Thien-Thi Nguyen <[email protected]> Tue, 09 Nov 2010 09:24:19 +0100
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
() Keith Thompson <[email protected]>
() Mon, 8 Nov 2010 12:29:22 -0800

   (I just noticed that "-B" is listed twice.)

Thanks for pointing out this typo; i've pushed a fix.

   The problem: [...] moving target [...] can also collide.

   Suggestion: [...] add a new option to specify a set of
   arguments to be passed through to diff.

Well, gcc uses -Wl,<options> to pass comma-separated options to
the linker, so i suppose RCS could do something similar.

   An option to specify which diff command to use might go well
   with this.

Currently RCS determines system diff characteristics -- namely, exit
values (success, failure, trouble) and option to produce RCS-friendly
output -- at configure time, so choosing "which diff command" means not
only specifying the program, but also its characteristics, presuming
we want to keep the same level of flexibility.

On the other hand, since RCS is a GNU program, it would be fine IMO
if RCS were to explicitly require a GNU diff workalike diff for
proper operation.

Overall, do you have a specific case in mind for using another diff?