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: Michael Welsh Duggan
Subject: Re: Obscure error/warning/information message from git pull
Date: Fri, 14 Nov 2014 18:56:38 -0500
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/25.0.50 (gnu/linux)

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?

-- 
Michael Welsh Duggan
(address@hidden)



reply via email to

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