-
- Downloads
Handle branch and tag names which are commit ids
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
Showing
- changelogs/unreleased/zj-branch-contains-git-message.yml 5 additions, 0 deletionschangelogs/unreleased/zj-branch-contains-git-message.yml
- lib/gitlab/git/repository.rb 16 additions, 10 deletionslib/gitlab/git/repository.rb
- spec/lib/gitlab/git/repository_spec.rb 27 additions, 0 deletionsspec/lib/gitlab/git/repository_spec.rb
Please register or sign in to comment