From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: vc-git-annotate vs configured date format Date: Tue, 28 Jul 2009 15:51:11 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248814646 7433 80.91.229.12 (28 Jul 2009 20:57:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2009 20:57:26 +0000 (UTC) To: Emacs Developement List Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 28 22:57:19 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 1MVtjX-0000Qx-LZ for ged-emacs-devel@m.gmane.org; Tue, 28 Jul 2009 22:57:15 +0200 Original-Received: from localhost ([127.0.0.1]:34542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVtjX-0004FV-5o for ged-emacs-devel@m.gmane.org; Tue, 28 Jul 2009 16:57:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVsfQ-0003Ta-I6 for emacs-devel@gnu.org; Tue, 28 Jul 2009 15:48:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVsfP-0003Sz-KO for emacs-devel@gnu.org; Tue, 28 Jul 2009 15:48:56 -0400 Original-Received: from [199.232.76.173] (port=39675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVsfP-0003Su-Gg for emacs-devel@gnu.org; Tue, 28 Jul 2009 15:48:55 -0400 Original-Received: from honk.quarl.org ([173.45.230.109]:53645) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVsfP-0007vi-59 for emacs-devel@gnu.org; Tue, 28 Jul 2009 15:48:55 -0400 Original-Received: by honk.quarl.org (Postfix, from userid 1000) id 073DA1C80EB; Tue, 28 Jul 2009 15:51:12 -0400 (EDT) X-Quack-Archive: 1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 28 Jul 2009 16:56:59 -0400 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:113303 Archived-At: I have this in my .gitconfig: [blame] date = short Which causes emacs' vc-annotate to not work correctly, because vc-git-annotate-time hardcodes the regexp it looks for assuming it's date=iso. What do you think about getting vc-git-annotate to work regardless of the blame.date setting? An easy fix would be to just add --date=iso to the command-line. But ideally Emacs would be able to parse other date formats also. Date=short would be pretty easy to check for since it's a subset of date=iso; others might be harder. Thanks, Karl