You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Erik Uzureau <eu...@gmail.com> on 2007/04/06 23:00:53 UTC
feature idea: diff summary on commit
I know this is totally out of left field, but every time I do an "svn
commit" I always
wonder what are the net changes I'm making to the code base. Am I adding lines
or eliminating them?
Of course, this is mostly just because I get great joy out of cleaning
up a bunch
of code, rewriting it to be smaller. If the commit would tell me "Your
commit reduced
the code base by X lines" that would be awesome.
I assume I'm probably quite alone on this one, but my teachers always said the
only stupid question is the one you don't ask. Maybe someone else would like
this too.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: feature idea: diff summary on commit
Posted by Erik Uzureau <eu...@gmail.com>.
Exactly what I was looking for. Thanks Wesley!
--E
On 4/7/07, Wesley J. Landaker <wj...@icecavern.net> wrote:
> On Friday 06 April 2007 17:00, Erik Uzureau wrote:
> > I know this is totally out of left field, but every time I do an "svn
> > commit" I always
> > wonder what are the net changes I'm making to the code base. Am I adding
> > lines or eliminating them?
> >
> > Of course, this is mostly just because I get great joy out of cleaning
> > up a bunch
> > of code, rewriting it to be smaller. If the commit would tell me "Your
> > commit reduced
> > the code base by X lines" that would be awesome.
> >
> > I assume I'm probably quite alone on this one, but my teachers always
> > said the only stupid question is the one you don't ask. Maybe someone
> > else would like this too.
>
> You can always just do something like:
>
> $ svn diff | diffstat
>
> See <http://freshmeat.net/projects/diffstat/> for that one. There are other
> similar programs that do analysis based on unified diff output.
>
> --
> Wesley J. Landaker <wj...@icecavern.net> <xm...@icecavern.net>
> OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: feature idea: diff summary on commit
Posted by "Wesley J. Landaker" <wj...@icecavern.net>.
On Friday 06 April 2007 17:00, Erik Uzureau wrote:
> I know this is totally out of left field, but every time I do an "svn
> commit" I always
> wonder what are the net changes I'm making to the code base. Am I adding
> lines or eliminating them?
>
> Of course, this is mostly just because I get great joy out of cleaning
> up a bunch
> of code, rewriting it to be smaller. If the commit would tell me "Your
> commit reduced
> the code base by X lines" that would be awesome.
>
> I assume I'm probably quite alone on this one, but my teachers always
> said the only stupid question is the one you don't ask. Maybe someone
> else would like this too.
You can always just do something like:
$ svn diff | diffstat
See <http://freshmeat.net/projects/diffstat/> for that one. There are other
similar programs that do analysis based on unified diff output.
--
Wesley J. Landaker <wj...@icecavern.net> <xm...@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2