Skip to content
Snippets Groups Projects
Commit b6fb85d0 authored by Georges Racinet's avatar Georges Racinet
Browse files

test CommitService.FindCommit: wrong case with HEAD

At least since fb705af664d0,
we don't have a fallback when default GitLab branch is not set.

The test was actually testing nothing, because of the missing call
(found while preparing a refactoring that should be next).

Added comparison with Gitaly cases with HEAD to check as much as
possible that behaviour is right:

- empty repo (notice the invalidation)
- and normal case where the mirroring to Git has set the default
  GitLab branch.
parent 44d52718
No related branches found
No related tags found
2 merge requests!98Merged stable branch into default,!94CommitService: missing resolutions of obsolete changesets
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment