In a build system based on rake, someone has linked in specific commits. In the code directory on github this shows up as a directory leading to nowhere, but interestingly, github seems to understand the commit ID, as it is shown after the filename with @ [commit-id]
, see the screenshot below.
How can I modify this? When I clone the repository locally, git just creates empty directories, no meta information to be found. I think I'm missing the right keyword on what that this called. It seems like a URL that can be added as a link to a git project, that github understands.
In the rake task code in question, these files are called 'plugins', but that doesn't lead me to any useful information either. Rake is able to read the commit ID somehow through an environment variable 'plugins'. I can't figure out how this variable is being set, as the setter doesn't seem to appear anywhere in the repository. Do I need some sort of magic from a rake binary to do what I need?
Any help from someone with more github and/or rake experience would be greatly appreciated.