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

show fortran subroutine/function names in diff chunk headers

From: Keith Lindsay <klindsay_at_ucar.edu>
Date: Fri, 6 May 2016 10:22:04 -0600

Hi,

I use svn and git in different projects. I've learned that if I place
*.f90 diff=fortran
in ~/.config/git/attributes, then git diff shows fortran
subroutine/function names
in the hunk headers. I'm trying to get similar functionality for svn diff.

I see that there is a svn option -x -p for C functions, but I haven't
figured out a
corresponding option for fortran.

I've tried setting diff-cmd=... and diff-extensions=... in ~/.subversion/config,
but I haven't figured out how to get the desired results. Also, it
seems like the
diff command line options with this approach would be applied to all diff
invocations, not just when diff is being applied to fortran files.

How I can get this functionality for svn diff?

I am not subscribed to the mailing-list, so please cc me on replies.

Thanks, Keith Lindsay
Received on 2016-05-06 20:33:47 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.