[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn generates long lists of empty diffs with --diff-cmd

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 20 Apr 2017 15:52:47 +0200

> -----Original Message-----
> From: Alexey Neyman [mailto:stilor_at_att.net]
> Sent: donderdag 20 april 2017 02:59
> To: users_at_subversion.apache.org
> Subject: svn generates long lists of empty diffs with --diff-cmd
>
> Hi,
>
> I noticed that SVN generates a lot of spurious diffs when using a
> --diff-cmd option that look like this:
>
> Index: arch/alpha/boot/tools/objstrip.c
> ==========================================================
> =========
> Index: arch/alpha/boot/Makefile
> ==========================================================
> =========
>
> Is it possible to suppress such empty diffs? This makes the tools like
> ReviewBoard (www.reviewboard.org) examine a lot of unchanged files and
> slows them down considerably and unnecessary.

What argument do you pass to --diff-cmd ?

Is it possible that the files are actually different, but your diff command reports that they are not different (e.g. after normalizing whitespace). I think this header is printed on changed files, right before invoking the diff command.

        Bert

>
> Regards,
> Alexey.
Received on 2017-04-20 15:52:58 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.