C. Michael Pilato wrote on Thu, Jun 23, 2011 at 15:15:08 -0400: > We discussed in IRC some solutions: > > - spool the diff, count the lines in it, and provide that count in > some fashion > - indent the diff by a single column > - wrap the whole diff in some start/end markers ("[[[" and "]]]", e.g.) > > Keep in mind that the diff itself might be provided by a third-party tool > ('svn log --diff --diff-cmd /usr/bin/shoot myfoot", as danielsh so > eloquently put it).
I mentioned that in response to a suggestion that ]]] might not be a reliable end-delimiter for users of --diff-cmd. I also suggested that whoever does such crazy things could append | sed "s/^/ /" to their diff-cmd to solve the issue.