emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obscure error/warning/information message from git pull


From: David Kastrup
Subject: Re: Obscure error/warning/information message from git pull
Date: Sat, 15 Nov 2014 08:36:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Michael Welsh Duggan <address@hidden> writes:

> Eli Zaretskii <address@hidden> writes:
>
>>> From: Sergey Organov <address@hidden>
>>> 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 <this>" for each
> commit in the log?

--source, but that does not list _all_ ways to reach a commit but just
the one with which the current log command reached it.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]