emacs-devel
[Top][All Lists]
Advanced

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

git log question


From: Stephen Berman
Subject: git log question
Date: Thu, 30 Nov 2017 11:00:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

I thought if I call `git log <commit> -1' on the current branch, it will
only show <commit> if it is in the current branch, but I just discovered
this is not so: I called it with master current and <commit> being one I
knew was only in emacs-26, but nevertheless it showed that commit.  The
same thing with `git log --branches=master <commit> -1' and `git log
--branches="master" <commit> -1' (I couldn't tell from the doc if the
branch name should be quoted, but it made no difference).  What's the
required incantation?  Thanks.

Steve Berman



reply via email to

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