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 Engster
Subject: Re: Obscure error/warning/information message from git pull
Date: Sat, 15 Nov 2014 09:18:36 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux)

Eli Zaretskii writes:
>> From: David Engster <address@hidden>
>> Date: Sat, 15 Nov 2014 00:17:49 +0100
>> Cc: Sergey Organov <address@hidden>, address@hidden
>
>> 
>> Alan Mackenzie writes:
>> > I want to see all recent commits together, each one annotated with
>> > which branch it's on.  That's surely not too much to ask for.  I want
>> > annotation, not filtering.
>> 
>> Try
>> 
>>   git log --source emacs-24 master
>
> This spews an error message when invoked in the master branch.  Why?
> Does it need the repository to track both branches or something?

Yes, this was for Alan's case, who has a local tracking branch for
emacs-24. If you don't track it locally, use the remote branch name,
which is 'origin/emacs-24'.

> What exactly is the semantics of this command when given branch names?
> (The man page doesn't say, AFAICS.)

It says

  The command takes options applicable to the git rev-list command to
  control what is shown and how [...].

So 'git help rev-list' will give you details on how this works.

-David



reply via email to

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