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: Florian Weimer
Subject: Re: Obscure error/warning/information message from git pull
Date: Sat, 15 Nov 2014 23:02:54 +0100

* Alan Mackenzie:

> Hello, Florian.
>
> On Sat, Nov 15, 2014 at 08:40:09PM +0100, Florian Weimer wrote:
>> * Alan Mackenzie:
>
>> > This doesn't work very well.  It prints out the information for the first
>> > commit that is displayed, but no more.  This feels like a git bug.
>
>> Git does not record the branch on which a commit was made.
>
> But as I understand it, the head of each branch is identified by a
> pointer, and all previous commits are in a chain starting at this
> pointer.  So git should know which branch each commit is on.  Why can it
> not display this information?

Branches are just names for commits, the only difference from tags is
that Git has tool support to automatically move the branch to the
child commit, effectively adding the commit to the branch.

It's really like lists in Emacs.  If you splice two of them together,
the resulting data structure no longer reflects that, it's seamless.
You can only recover the join point if you kept a reference to both
lists before modification.



reply via email to

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