[Fedora-packaging] Source0 for github ?
Tom Hughes
tom at compton.nu
Mon Sep 22 12:48:44 UTC 2014
On 22/09/14 12:58, Jeff Backus wrote:
> interesting, I used a different commit id today and it works.
> However if I use the instructions on the page to get the right commit
> it doesn't.
>
> Ie if I use git rev-parse $TAG I get a commit id which will not work
> when substituted above. Intead if I do git log -1 $TAG and use the
> commit id of the tagged commit it works.
> I wonder if the instructions have always been wrong or if they change
> something subtler in github and now only the tag ids do not work
> anymore ...
>
> Hi Simo,
>
> Interesting. I can't speak to the use of get rev-parse vs. git log since
> I always grabbed the commit hash from the webpage (I know, I know, I'll
> hand in my l33t h4x0r card next meeting, I swear).
The git rev-parse command is giving you the ID of the tag, not the ID of
the commit that the tag points at.
Tom
--
Tom Hughes (tom at compton.nu)
http://compton.nu/
More information about the packaging
mailing list