From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: VC top of the tree diff and log Date: Wed, 8 Jul 2009 17:29:58 -0700 (PDT) Message-ID: <200907090029.n690Twlr026037@godzilla.ics.uci.edu> References: <200907071845.n67IjHUH004088@godzilla.ics.uci.edu> <200907082110.n68LA647023185@godzilla.ics.uci.edu> <87k52i93ug.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247099623 8572 80.91.229.12 (9 Jul 2009 00:33:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 00:33:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 02:33:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOhZv-0004iz-M8 for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 02:33:35 +0200 Original-Received: from localhost ([127.0.0.1]:42175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOhZu-0000kU-Mt for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 20:33:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOhZq-0000kK-2P for emacs-devel@gnu.org; Wed, 08 Jul 2009 20:33:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOhZl-0000in-3p for emacs-devel@gnu.org; Wed, 08 Jul 2009 20:33:29 -0400 Original-Received: from [199.232.76.173] (port=51308 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOhZk-0000iV-Tq for emacs-devel@gnu.org; Wed, 08 Jul 2009 20:33:24 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:64407) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MOhZi-00081s-Ex; Wed, 08 Jul 2009 20:33:22 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n690TwX1002634; Wed, 8 Jul 2009 17:29:58 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n690Twlr026037; Wed, 8 Jul 2009 17:29:58 -0700 (PDT) In-Reply-To: <87k52i93ug.fsf@catnip.gol.com> (Miles Bader's message of "Thu, 09 Jul 2009 08:01:27 +0900") Original-Lines: 30 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n690TwX1002634 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112213 Archived-At: Miles Bader writes: > Dan Nicolaescu writes: > > A related question: should we have an option (or default?) to show the > > short version (--pretty=oneline --graph) ? > > Would be useful, though I dunno what you'd bind it too... at some point > having too many bindings for essentially-similar-commands becomes kind > of annoying/confusing. I am thinking that we could have 2 modes for the log: - a short one that would be used by default for directory logs - the current long one that would be used for file logs (I haven't completely thought this through)... > I don't really like the default --pretty=oneline format though, as it > wastes too much space on the hash, and doesn't show a date (which I find > very useful in looking at logs). > > Here's what I use (with my own "slog" alias): > > --date=short --pretty=format:"%h %ad %s" --abbrev-commit Looks better indeed. As long as the version that it prints can be used to show the corresponding diff, we should be good. > [note there are _two_ spaces between fields, which makes the result much > more readable than one, I think] I want the graph too