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 17:51:56 +0200 Organization: Organization?!? Message-ID: <87bnqkx2eb.fsf@fencepost.gnu.org> References: <20140912043652.4D6D8380604@snark.thyrsus.com> <83zje56ymd.fsf@gnu.org> <20140912083430.GA32586@thyrsus.com> <87mwa59i1r.fsf@igel.home> <87ioksx5v8.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410537170 27586 80.91.229.3 (12 Sep 2014 15:52:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 15:52:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 17:52:43 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 1XST9O-0003fS-QJ for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2014 17:52:42 +0200 Original-Received: from localhost ([::1]:45832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XST9O-0004kV-9v for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2014 11:52:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XST94-0004jq-3d for emacs-devel@gnu.org; Fri, 12 Sep 2014 11:52:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XST8y-0007LN-7A for emacs-devel@gnu.org; Fri, 12 Sep 2014 11:52:22 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XST8y-0007LB-0i for emacs-devel@gnu.org; Fri, 12 Sep 2014 11:52:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XST8u-0003MQ-2V for emacs-devel@gnu.org; Fri, 12 Sep 2014 17:52:12 +0200 Original-Received: from x2f500ac.dyn.telefonica.de ([2.245.0.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Sep 2014 17:52:12 +0200 Original-Received: from dak by x2f500ac.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Sep 2014 17:52:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f500ac.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:OlzCDB/xYuvxgRv9Y7RhLF/f5A8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:174229 Archived-At: Sam Steingold writes: >> * David Kastrup [2014-09-12 16:36:59 +0200]: >> >> Sam Steingold writes: >> >>> I.e., I make a commit X today and tomorrow rebase (= remove X; pull from >>> upstream; reapply X) it. >>> Is X now dated today or tomorrow? >>> If the answer is "tomorrow", this looks like a bug. >> >> If the commit timestamp were anything but "tomorrow" it would be a >> bug. The whole point of a commit timestamp is to track who created a >> commit when. Since a rebase creates commits, obviously the commit >> timestamp will correspond to the time of the rebase, and the commit >> author will correspond to the person doing the rebase. Replace "commit author" with "committer" here since using "author" is confusing in this context: commit 85e17384aceddcb761f48f95ee2244a60f9e8408 Author: David Kastrup AuthorDate: Fri Sep 12 10:48:20 2014 +0200 Commit: David Kastrup CommitDate: Fri Sep 12 14:18:26 2014 +0200 Let Lyric_combine_music_iterator use SyllableEvent > I thought that rebase _moves_ commits, not _creates_ them anew. > Just like "mv" does not change ctime of a file, > rebase must not change the commit time. Then you lack a fundamental understanding of what constitutes a "commit" in Git's terms. A commit is identified by its commit hash, and what is hashed is the entire commit metadata including the ancestors of a commit, its own commit date and committer and the corresponding tree. Rebasing creates new commits with a new identity and commit hash, retaining a substantial amount of headers _not_ including committer and commit date. And obviously also not generally including the same ancestry or the rebase would be pretty pointless. The committer is the person responsible for a commit being in a repository (mirroring, and non-rebasing push or pull are just duplications and neither change commit ids not commit metadata). The author is the one who is more or less considered responsible for creating its content. -- David Kastrup