subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Lindsay <>
Subject show fortran subroutine/function names in diff chunk headers
Date Fri, 06 May 2016 16:22:04 GMT

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

View raw message