[FFmpeg-devel] Howto list + pull specific git branch

Michael Niedermayer michaelni at gmx.at
Sat Oct 20 01:45:52 CEST 2012


On Fri, Oct 19, 2012 at 05:37:31PM -0500, David Favor wrote:
> Michael Niedermayer wrote:
> >On Tue, Oct 16, 2012 at 08:26:54PM -0500, David Favor wrote:
> >>The current Macports ffmpeg-devel package uses the
> >>following git syntax for building:
> >>
> >>   name            ffmpeg-devel
> >>   conflicts       ffmpeg
> >>   version         20120917
> >>   set git_branch  1ad63ff14adb652996c4604da59a330cef0d494e
> >>
> >>   ... ... ...
> >>
> >>   platforms       darwin
> >>   homepage        http://www.ffmpeg.org/
> >>   master_sites \
> >>    "http://git.videolan.org/gitweb.cgi?p=ffmpeg.git;a=snapshot;h=${git_branch};sf=tgz;dummy="
> >>   dist_subdir     ffmpeg
> >>
> >>I've tried to figure out the syntax to list + pull by
> >>specific branch ids and it's beyond me.
> >>
> >>In a previous email h=n0.11.1 was suggested and this fails
> >>because of the weird way the Portfile is laid out.
> >>
> >>Pass along the git syntax to list all the branch info
> >>like tags (0.11.1, 1.0, etc) and map them to their
> >>associated git branch ids (like git_branch above).
> >
> >i dont know about the others but at least i do not understand
> >the problem or question you have, that we could help you with
> >
> >maybe you could elaborate ?
> 
> For example, if I'd like to find the git branch id (as in set_branch above)
> for a specific release like 0.11.2 or 1.0 let me know the git command to
> dump all the branches or tags along with their git id.

git branch -r -v
and
git show-ref --tags

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121020/67b10702/attachment.asc>


More information about the ffmpeg-devel mailing list