In the meantime, I'll
rework the patch series to avoid using the word "ref" when defining
committish and tree-ish.
This is a good way forward. I'm curious about what you're planning on
substituting it with though: the "extended SHA-1 expression" that
Jonathan hinted at?