From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergey Organov Newsgroups: gmane.emacs.devel Subject: Re: Obscure error/warning/information message from git pull Date: Wed, 19 Nov 2014 19:36:20 +0300 Message-ID: References: <20141114180521.GA3168@acm.acm> <20141114230235.GF3168@acm.acm> <20141117141123.GA4294@acm.acm> <83lhn89zxn.fsf@gnu.org> <83bno49xtw.fsf@gnu.org> <20141118224326.GA5167@acm.acm> <87mw7n8k0f.fsf@Rainer.invalid> <837fyr88mc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1416415830 26977 80.91.229.3 (19 Nov 2014 16:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2014 16:50:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 19 17:50:23 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 1Xr8ST-0006Bv-Jv for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2014 17:50:21 +0100 Original-Received: from localhost ([::1]:59508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr8ST-0003JA-4J for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2014 11:50:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr8SL-0003Io-7j for emacs-devel@gnu.org; Wed, 19 Nov 2014 11:50:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr8SE-0001nr-00 for emacs-devel@gnu.org; Wed, 19 Nov 2014 11:50:13 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:56886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr8SD-0001lV-PB for emacs-devel@gnu.org; Wed, 19 Nov 2014 11:50:05 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xr8F8-0005Rc-2g for emacs-devel@gnu.org; Wed, 19 Nov 2014 17:36:34 +0100 Original-Received: from 89.175.180.246 ([89.175.180.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 17:36:34 +0100 Original-Received: from sorganov by 89.175.180.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 17:36:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89.175.180.246 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) 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:177784 Archived-At: Eli Zaretskii writes: >> From: Achim Gratz >> Date: Wed, 19 Nov 2014 13:14:40 +0100 >> >> Branch foo consists of a label pointing at commit D and everything >> reachable from D is on that branch. > > Now we are finally getting somewhere! Others claimed that a branch > _is_ just its label, and nothing else. Branch /in Git/ is just a special kind of label, and nothing else. The above is an abstraction built on top of Git's idea of branch. One can get a chain of commits from Git DAG starting at branch 'foo' and call the result "branch foo", if it suits him. Moreover, he can do this from any reference, even from SHA1. If I get the same chain of commits from branch 'foo' and from commit AF03276BC, is it the same branch? Is SHA1 a branch? Is Git tag a branch? Why? -- Sergey.