[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git transition checklist
From: |
Achim Gratz |
Subject: |
Re: Git transition checklist |
Date: |
Wed, 08 Jan 2014 20:15:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Eli Zaretskii writes:
>> .../emacs> git tag --annotate emacs-24.3-ann emacs-24.3
>> .../emacs> git describe
>> emacs-24.3-ann-5712-g478ff9c
>
> I still don't see why not use 'git log' for this purpose.
Didn't you say you wanted to see at a glance which commit comes later?
The above gives you that information: we are 5712 commits past release
emacs-24.3-ann and the SHA1 of the commit starts with 478ff9c (where to
truncate the SHA1 can be controlled by the --abbrev option).
> We don't want a description of the branch, we want the ID of the last
> commit on which the build is based. Using that, one can easily
> identify what was in the tree.
You have that information, plus some more. If you really just want the
(abbreviated) SHA1, then:
git show --format=format:%h --no-patch
does that without much fuzz (if you want a trailing newline, then the
format should be "%h%n".
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
- Re: Git transition checklist, (continued)
Re: Git transition checklist, Eli Zaretskii, 2014/01/08
Re: Git transition checklist, Andreas Schwab, 2014/01/08
Re: Git transition checklist, Achim Gratz, 2014/01/08
Re: Git transition checklist, Andreas Schwab, 2014/01/08
Re: Git transition checklist, Eric S. Raymond, 2014/01/08
- Re: Git transition checklist, Eli Zaretskii, 2014/01/08
- Re: Git transition checklist, Eric S. Raymond, 2014/01/08
- Re: Git transition checklist, Eli Zaretskii, 2014/01/08
- Re: Git transition checklist, Eric S. Raymond, 2014/01/08
- Re: Git transition checklist, Eli Zaretskii, 2014/01/09
Re: Git transition checklist, David Kastrup, 2014/01/08
Re: Git transition checklist, Eli Zaretskii, 2014/01/08