From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Everyone, please stop making my life more difficult Date: Fri, 12 Sep 2014 21:28:44 +0200 Message-ID: <87lhpovdsj.fsf@fencepost.gnu.org> References: <20140912043652.4D6D8380604@snark.thyrsus.com> <834mwd8j6a.fsf@gnu.org> <20140912095542.GD32586@thyrsus.com> <83y4tp6sc3.fsf@gnu.org> <20140912104929.GA17830@boo.workgroup> <83wq996lbr.fsf@gnu.org> <87tx4dvuvs.fsf@fencepost.gnu.org> <83tx4d6k6q.fsf@gnu.org> <878ulp9c56.fsf@igel.home> <83oauk7trb.fsf@gnu.org> <877g18x2bl.fsf@fencepost.gnu.org> <83ioks7nzq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410551081 21444 80.91.229.3 (12 Sep 2014 19:44:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 19:44:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 21:44:35 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XSWln-00082a-01 for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2014 21:44:35 +0200 Original-Received: from localhost ([::1]:47101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSWlm-0006df-F8 for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2014 15:44:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSWlZ-0006dU-C5 for emacs-devel@gnu.org; Fri, 12 Sep 2014 15:44:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSWlY-0007N3-5H for emacs-devel@gnu.org; Fri, 12 Sep 2014 15:44:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSWlY-0007Mm-2L for emacs-devel@gnu.org; Fri, 12 Sep 2014 15:44:20 -0400 Original-Received: from localhost ([127.0.0.1]:60423 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSWlX-0000V7-B1; Fri, 12 Sep 2014 15:44:19 -0400 Original-Received: by lola (Postfix, from userid 1000) id 66380E0BD3; Fri, 12 Sep 2014 21:28:44 +0200 (CEST) In-Reply-To: <83ioks7nzq.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Sep 2014 20:22:17 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174252 Archived-At: Eli Zaretskii writes: >> From: David Kastrup >> Date: Fri, 12 Sep 2014 17:53:34 +0200 >>=20 >> >> git show --date=3Draw >> > >> > This shows the author's timestamp, not the committer's one, right? >>=20 >> It shows what you tell it to show elsewhere. For example, with >>=20 >> git show --pretty=3Dfuller --date=3Draw >>=20 >> it shows both. With --date=3Draw --pretty=3D'format:...' it shows the >> fields specified in the format. > > When I use --format=3D'%ci', it doesn't seem to be affected by > --date=3Draw, which is consistent with the documentation as I understand > it. So why would you use %ci then? =B7 %cd: committer date =B7 %cD: committer date, RFC2822 style =B7 %cr: committer date, relative =B7 %ct: committer date, UNIX timestamp =B7 %ci: committer date, ISO 8601 format It seems obvious that all commit date specifiers apart from %cd use a fixed format. And %ct will output the timestamp format. --=20 David Kastrup