Thanks for the tip anyway, I think, know where to go now.
Even svn diff is missing this option natively, there is a way to use 3-rd party diff that knows to ignore the white spaces.
On 8/8/06, David Sitsky <[EMAIL PROTECTED]> wrote:
Moisei Rabinovich wrote:
> well, I probably miss some important point.
> codestriker generates a diff for me by itself, i only fill start-tag,
> end-tag and module.
> where should i set the "-b" option?
If you always want to ignore whitespace changes, you can do this by
modifying lib/Codestriker/Repository/Cvs.pm, line 124. Add the '-b'
option so that the code that used to be:
my $pid = open3($write_stdin_fh, $read_stdout_fh, $read_stderr_fh,
$Codestriker::cvs, '-q', '-d', $self->{url},
'rdiff', $extra_options, '-u',
'-r', $start_tag, '-r', $end_tag, $module_name);
Looks like:
my $pid = open3($write_stdin_fh, $read_stdout_fh, $read_stderr_fh,
$Codestriker::cvs, '-q', '-d', $self->{url},
'rdiff', $extra_options, '-u', '-b',
'-r', $start_tag, '-r', $end_tag, $module_name);
ie - the -b option has been added.
> also I am not sure @exclude_file_types is taken into account in this case
It should be. The same filtering code is run, regardless of whether or
not Codestriker generated the diff text, or it was supplied by the user.
Cheers,
David
--
Best Regards,
Moisei
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Codestriker-user mailing list Codestriker-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/codestriker-user