From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Obscure error/warning/information message from git pull Date: Fri, 14 Nov 2014 18:56:38 -0500 Message-ID: <87ioih8hft.fsf@maru2.md5i.com> References: <20141114120604.GA3859@acm.acm> <87389mkjwo.fsf@thinkpad-t440p.tsdh.org> <20141114141434.GM3565@embecosm.com> <20141114180521.GA3168@acm.acm> <83fvdlh3ru.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416009423 23689 80.91.229.3 (14 Nov 2014 23:57:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 23:57:03 +0000 (UTC) Cc: Sergey Organov , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 15 00:56:57 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 1XpQjY-0004KS-KB for ged-emacs-devel@m.gmane.org; Sat, 15 Nov 2014 00:56:56 +0100 Original-Received: from localhost ([::1]:38193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpQjY-0000tF-88 for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 18:56:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpQjR-0000t8-3n for emacs-devel@gnu.org; Fri, 14 Nov 2014 18:56:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpQjM-0005of-Ll for emacs-devel@gnu.org; Fri, 14 Nov 2014 18:56:49 -0500 Original-Received: from md5i.com ([75.151.244.229]:50768 helo=maru2) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpQjH-0005oE-Ob; Fri, 14 Nov 2014 18:56:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=6tol+IXwzekbILEG9PdQr2TYLS/KwKDyDeFiJn+kYok=; b=er1Ahl1FtoKPQpWaEKIz+02H/C2XQr09QjooTHVwbprGHV57zaCwsCtrvA5TTnPsyq7ymICgvKmToRtJ0LEYUxA4H3O/XZrBLFRsj5xP3HjOOx40G+Cvbvaj0K0qUeOo; Original-Received: from md5i by maru2 with local (Exim 4.84) (envelope-from ) id 1XpQjG-0002jo-NP; Fri, 14 Nov 2014 18:56:38 -0500 In-Reply-To: <83fvdlh3ru.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Nov 2014 23:27:01 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 75.151.244.229 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:177133 Archived-At: Eli Zaretskii writes: >> From: Sergey Organov >> Date: Fri, 14 Nov 2014 23:57:56 +0300 >> >> > git log -n5 emacs24 master -- >> > >> > and this works, but it doesn't say which commit is in which branch. >> > YUCK. >> >> Because in GIT commits are not on a branch. All commits are arranged into >> DAG, and branch is just a pointer into the DAG. Any given commit is >> either reachable from given branch or not. It's that simple. > > You just re-defined "on a branch", that's all. A commit that's > reachable from a branch is on that branch. It's that simple. Right. Asked another way, is there a way to do a git log where each entry has the information from "git branch --contains " for each commit in the log? -- Michael Welsh Duggan (md5i@md5i.com)