[Bioperl-l] Leftover SVN tags

Chris Fields cjfields at illinois.edu
Sun Jun 6 21:10:05 UTC 2010


On Jun 6, 2010, at 1:29 PM, Dave Messina wrote:

> 
> 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

For purposes of tracking, might be just as useful to have the date.  The Pro Git book has a way to do this using .gitattributes:

http://progit.org/book/ch7-2.html

chris



More information about the Bioperl-l mailing list