emacs-devel
[Top][All Lists]
Advanced

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

Re: git transition issues


From: Glenn Morris
Subject: Re: git transition issues
Date: Tue, 28 Oct 2014 11:33:59 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

"Eric S. Raymond" wrote:

>> This looks wrong to me. %N is the commit's note from "git notes".
>> Perhaps this should be %H, to get the commit hash? And if so, I think
>> the better way is with "git show-ref", as it's a plumbing command where
>> "git log" is not (git log likes to redirect stuff through your $PAGER, etc).
>> 
>>   git show-ref -s --head ^HEAD
>
> I noticed the %N issue, yes.  I agree with this critique.

%N is right for the current git repo.

http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00442.html



reply via email to

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