[Bioperl-l] Leftover SVN tags

Dave Messina David.Messina at sbc.su.se
Sun Jun 6 18:29:45 UTC 2010


On Jun 6, 2010, at 2:04 PM, Dave Messina wrote:

> If the file is outside of the checkout directory (i.e. installed and no .git subdir), how do we know what version it is?
> 
> We can calculate the SHA1, but is there a git command that answers the question "where does the file with this SHA1 belong into the repository?

To anwer my own question, yes:

http://stackoverflow.com/questions/223678/git-which-commit-has-this-blob

I copied the Perl script to here:
http://gist.github.com/427769


If we get rid of the $Id$ tags as Chris proposes, it might be useful to make a note of it in the Wiki and link to the script.

Dave





More information about the Bioperl-l mailing list