How can I determine if a given git hash exists on a given branch?
- by pinko
Background: I use an automated build system which takes a git hash as input, as well as the name of the branch on which that hash exists, and builds it. However, the build system uses the hash alone to check out the code and build it -- it simply stores the branch name, as given, in the build DB metadata.
I'm worried about developers accidentally…