[x264-devel] [PATCH] Hack for svnversion equivalent on git

Jason Martens cacepi at gmail.com
Thu Mar 6 03:51:05 CET 2008


On Mar 5, 2008, at 4:14 PM, Pierre d'Herbemont wrote:

> What about using git-describe? That's what they use in git's git...
>
> You'll have to git tag -a a revision of x264 though.

I tried tagging a test tree locally and it works somewhat, but I've  
noticed a few things.

git-describe doesn't notice if changes a present in the working  
directory like svnversion did.  Is there any way to track this with  
having to resort to parsing git-diff?

Tags added to a commit show _all_ commits made in the tree up to a  
tag, not the specific tag.  I added tags with "git-tag -m "rev-#" rev- 
# commit_tag"; is this the way to do it or is there a different way?

Jason



More information about the x264-devel mailing list