From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Workflow to accumulate individual changes? Date: Sat, 02 Jan 2010 14:00:30 +0900 Message-ID: <87vdflm781.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87637of4y8.fsf@kobe.laptop> <87oclfdzs2.fsf@kobe.laptop> <87hbr6jwsy.fsf@telefonica.net> <83my0yfc9g.fsf@gnu.org> <838wchgais.fsf@gnu.org> <878wchfxcn.fsf@red-bean.com> <874on537yy.fsf@iki.fi> <87my0xega6.fsf@red-bean.com> <87zl4x1qjl.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262407951 20145 80.91.229.12 (2 Jan 2010 04:52:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jan 2010 04:52:31 +0000 (UTC) Cc: Karl Fogel , ofv@wanadoo.es, Eli Zaretskii , Andreas Schwab , emacs-devel@gnu.org To: Teemu Likonen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 02 05:52:23 2010 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 1NQvwj-0007nc-QW for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2010 05:50:38 +0100 Original-Received: from localhost ([127.0.0.1]:33571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQvwk-0003Wz-5Z for ged-emacs-devel@m.gmane.org; Fri, 01 Jan 2010 23:50:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQvwf-0003Ws-Dc for emacs-devel@gnu.org; Fri, 01 Jan 2010 23:50:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQvwc-0003Vw-0E for emacs-devel@gnu.org; Fri, 01 Jan 2010 23:50:33 -0500 Original-Received: from [199.232.76.173] (port=51686 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQvwb-0003Vt-PT for emacs-devel@gnu.org; Fri, 01 Jan 2010 23:50:29 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:51829) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQvwa-0003L1-4d; Fri, 01 Jan 2010 23:50:28 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 2BF1D1535A8; Sat, 2 Jan 2010 13:50:26 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 0D31B1A33D7; Sat, 2 Jan 2010 14:00:31 +0900 (JST) In-Reply-To: <87zl4x1qjl.fsf@iki.fi> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 1444e28f1a3d XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:119253 Archived-At: Teemu Likonen writes: > No problem. I'll still repeat that it's indeed misinformation. Here's a > raw content of a certain commit object in Emacs Git repository (the > four-space indent is by me): cat'ing the object doesn't prove anything. The header content is easily separable from the commit message, and in theory you could generate the SHA1 based on the header only. (I can't imagine Linus doing such a thing, but it would immediately occur to most Emacs hackers.) Here's an experimental proof: # Verify identity. $ git rev-parse HEAD f008c025d04f4bcec79f2bb463589461d95a3154 $ git cat-file commit HEAD | git hash-object --stdin -t commit f008c025d04f4bcec79f2bb463589461d95a3154 # Verify difference -- I happen to know that the word "Update" occurs # uniquely in the comment portion of this commit. $ git cat-file commit HEAD | sed -e s/Update/Rewrite/ \ | git hash-object --stdin -t commit ff2c9790c738d10205086a12ce394069ceccbb83