Hi there,
I'm trying to implement a *branch-source* style plugin and I'm a bit lost about the SCMFileSystem implementation and its connection with the `getTrustedRevision` from AbstractGitSCMSource. In my understanding getTrustedRevision should return a revision according to the implemented authorities. This revision is then passed to the SCMFileSystem.build().
In this method, I recieve two things; a head and a revision:
* Which one should I build upon ? Is it the revision or the head ? Or both depending on the context ?
* More importantly, I've seen that the revision can be null. In which cases is this possible ? How can I end up with an empty revision ?
Thanks in advance,
Martin