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

git log vs. svn log

From: Heikki Orsila <shd_at_jolt.modeemi.cs.tut.fi>
Date: 2007-09-05 16:40:03 CEST

Hello SVN developers.. I'm greatly missing two features from svn log
command that are featured in git log:

1. git log --stat shows commit diffstats
2. git log -p shows commit patches

Two examples should clarify these options:

$ git log --stat
commit 795688a4905257516886cac6f3add6ba467dfe0b
Author: Heikki Orsila <shd@thingol.localdomain>
Date: Wed Aug 22 23:42:24 2007 +0300

    Add documentation of -i and -o [DOCUMENTATION]

 pmr.1 | 16 ++++++++++++++--
 pmr.c | 15 +++++++++++++--
 2 files changed, 27 insertions(+), 4 deletions(-)

$ git log -p

commit 795688a4905257516886cac6f3add6ba467dfe0b
Author: Heikki Orsila <shd@thingol.localdomain>
Date: Wed Aug 22 23:42:24 2007 +0300

    Add documentation of -i and -o [DOCUMENTATION]

diff --git a/pmr.1 b/pmr.1
index f42235a..d3fd6d2 100644
--- a/pmr.1
+++ b/pmr.1
@@ -1,11 +1,11 @@
-.TH pmr 1 "2006-11-03" Linux "user commands"
+.TH pmr 1 "2007-08-22" Linux "user commands"
...

These two options really made version control logs useful for me, so I
really hope to see these features in SVN in the future (I can not
use git at work). It's annoying to live without them ;) Note, I'm not
switching to version control GUIs, I want to use command line tools.

-- 
Heikki Orsila			Barbie's law:
heikki.orsila@iki.fi		"Math is hard, let's go shopping!"
http://www.iki.fi/shd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 5 16:37:33 2007

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

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