Open mperrin opened 8 years ago
Previously with svn we had the functionality that the pipeline writes HISTORY keywords that contain the commit ID, time, and responsible person:
primitive_version= '$Id: gpi_assemble_spectral_datacube.pro 4212 2015-12-10 04:50:46Z kfollette $'
We should decide whether this functionality is still worthwhile now, and if so figure out how to implement something like it. Looks like there is a 'ident' feature in gitattributes. See https://git-scm.com/docs/gitattributes
Of course git is rather different than svn in several fundamental aspects of how it handles files so this is not as simple as on svn. For some of the complexities see discussion here: http://stackoverflow.com/questions/16524225/how-can-i-populate-the-git-commit-id-into-a-file-when-i-commit
Previously with svn we had the functionality that the pipeline writes HISTORY keywords that contain the commit ID, time, and responsible person:
primitive_version= '$Id: gpi_assemble_spectral_datacube.pro 4212 2015-12-10 04:50:46Z kfollette $'
We should decide whether this functionality is still worthwhile now, and if so figure out how to implement something like it. Looks like there is a 'ident' feature in gitattributes. See https://git-scm.com/docs/gitattributes
Of course git is rather different than svn in several fundamental aspects of how it handles files so this is not as simple as on svn. For some of the complexities see discussion here: http://stackoverflow.com/questions/16524225/how-can-i-populate-the-git-commit-id-into-a-file-when-i-commit