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: Recording the date at which a change was pushed to Savannah Date: Wed, 03 Dec 2014 09:35:16 +0100 Organization: Organization?!? Message-ID: <87388xw2pn.fsf@fencepost.gnu.org> References: <9e4mtd1cdi.fsf@fencepost.gnu.org> <87r3whkw6w.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417595753 8015 80.91.229.3 (3 Dec 2014 08:35:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 08:35:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 09:35:44 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 1Xw5PT-0001OC-SG for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 09:35:44 +0100 Original-Received: from localhost ([::1]:40353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw5PT-0000rd-GB for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 03:35:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw5PL-0000qT-94 for emacs-devel@gnu.org; Wed, 03 Dec 2014 03:35:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xw5PF-0001IX-B7 for emacs-devel@gnu.org; Wed, 03 Dec 2014 03:35:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:53143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw5PF-0001Hx-5k for emacs-devel@gnu.org; Wed, 03 Dec 2014 03:35:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xw5PE-0001Gw-0j for emacs-devel@gnu.org; Wed, 03 Dec 2014 09:35:28 +0100 Original-Received: from x2f4a88f.dyn.telefonica.de ([2.244.168.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Dec 2014 09:35:28 +0100 Original-Received: from dak by x2f4a88f.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Dec 2014 09:35:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f4a88f.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/25.0.50 (gnu/linux) Cancel-Lock: sha1:omPEp04qupF7wlmuVSCJ0y9o2UU= 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:178714 Archived-At: "Stephen J. Turnbull" writes: > Glenn Morris writes: > > > Obviously the same sort of [commit date/push date lag] will apply > > if someone delays pushing their local commits to Savannah. Or the > > next time a long-lived feature branch gets merged to master. > > As I wrote before, I think it's reasonable to want to know when a > commit was pushed. This is a distributed version control system. I can push a branch from my own repository to repository C, make a pull request for the owner of repository D, they merge their own branches into the respective results and push to different branches in the "main" repository where the branches are eventually merged. So when was that commit pushed into the upstream repository? You are likely looking for something akin to the file creation date of the object blob in the "upstream" repository. That's sort of the thing one might expect to be stored in the ephemeral reflog but it turns out it isn't. It's also a very shaky piece of information and must not be part of the commit itself because then it would change the commit id. And it really makes only sense repository-locally. And it's not like one can access the reflog of a remote repository either. So "when a commit was pushed" rather than "committed/created" is information that cannot sensibly be maintained in distributed version control systems and workflows with a commit identity in some readily available form since it is, by its nature, repository-local and thus not available for anybody not having local access to the main repository. -- David Kastrup