From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Recording the date at which a change was pushed to Savannah Date: Wed, 03 Dec 2014 09:18:42 -0500 Message-ID: References: <9e4mtd1cdi.fsf@fencepost.gnu.org> <87r3whkw6w.fsf@uwakimon.sk.tsukuba.ac.jp> <87388xw2pn.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417616377 31662 80.91.229.3 (3 Dec 2014 14:19:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 14:19:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 15:19:32 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 1XwAmA-0004ST-94 for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 15:19:30 +0100 Original-Received: from localhost ([::1]:41801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAm9-0005L7-Ht for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 09:19:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAlh-0005Fu-5n for emacs-devel@gnu.org; Wed, 03 Dec 2014 09:19:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwAlb-0001zv-9J for emacs-devel@gnu.org; Wed, 03 Dec 2014 09:19:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:22744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAlU-0001yv-Fq; Wed, 03 Dec 2014 09:18:48 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnQPAOwQflRMCqTq/2dsb2JhbABbgwdSWYI1hVq+fIYhBAICgSQXAQEBAQEBfIQDAQEDAVYjBQsLDiYSFBgNJIhKCdZZAQEBAQYBAQEBHpBvB4RIBYsBih6aEIF4hBkhMAGCRgEBAQ X-IPAS-Result: AnQPAOwQflRMCqTq/2dsb2JhbABbgwdSWYI1hVq+fIYhBAICgSQXAQEBAQEBfIQDAQEDAVYjBQsLDiYSFBgNJIhKCdZZAQEBAQYBAQEBHpBvB4RIBYsBih6aEIF4hBkhMAGCRgEBAQ X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="99455451" Original-Received: from 76-10-164-234.dsl.teksavvy.com (HELO pastel.home) ([76.10.164.234]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Dec 2014 09:18:47 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 76C7B43B6; Wed, 3 Dec 2014 09:18:42 -0500 (EST) In-Reply-To: <87388xw2pn.fsf@fencepost.gnu.org> (David Kastrup's message of "Wed, 03 Dec 2014 09:35:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:178726 Archived-At: > So "when a commit was pushed" rather than "committed/created" is I think the fundamental thing missing is the "mainline": In Bzr, when you look at the DAG of the `trunk', you know which commits are on the mainline and which commits were made on a branch and later merged onto the mainline. In Git, you don't know that because you only have the DAG and the parents of a merge are "unordered". So the only place that records something akin to the "mainline" would be the reflog of the master branch in the git.sv.gnu.org repository but this is transient (and inaccessible) info. I guess one of the use case is when trying to reconstruct a ChangeLog where the dates should be "the date at which this change appeared on the mainline". For most other use cases that come to mind, there are ways to get the same info by analyzing the DAG rather than the dates (e.g. figure out if a particular commit was present in release NN.MM). Stefan