• Zeger-Jan van de Weg's avatar
    Handle branch and tag names which are commit ids · e70fe782
    Zeger-Jan van de Weg authored
    Adds a test where a branch name is also a valid commit id. Git, the
    binary should create an error message which is difficult to parse and
    leading to errors later, as seen in: gitlab-org/gitlab-ce#43222
    
    To catch these cases in the future,
    gitlab-test@1942eed5cc108b19c7405106e81fa96125d0be22 was created. Which
    a branch name matching the commit
    e70fe782
repository_spec.rb 73.1 KB