Thomas Rast writes: > We only accepted either SHA1s or heads/tags that have been read. This > meant the user could not, e.g., enter HEAD to go back to the current > commit. > > Add code to call out to git rev-parse --verify with the string entered > if all other methods of interpreting it failed. (git-rev-parse alone > is not enough as we really want a single revision.) > > The error paths change slighly, because we now know from the rev-parse > invocation whether the expression was valid at all. The previous > "unknown" path is now only triggered if the revision does exist, but > is not in the current view display. > > Signed-off-by: Thomas Rast <trast@xxxxxxxxxxxxxxx> Thanks, applied. Paul. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html