Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

GitLab will silently fail to import a reposibtory with zero branches

Summary

GitLab will silently fail to import a reposibtory with zero branches.

Steps to reproduce

  1. Create repository
$ mkdir Martha
$ cd Martha/
$ echo I love Martha > README.md
$ git add -A -v
$ git commit -a --allow-empty-message -m '' -v
$ git tag rel001
$ git checkout @
$ git branch -d master
  1. Create project
$ git remote add origin https://gitlab.com/jjrscott/Martha.git
$ git push -u origin --tags
$ git push -u origin --all

Example Project

https://gitlab.com/jjrscott/Martha

What is the current bug behavior?

Stays on the "The repository for this project is empty" page forever.

What is the expected correct behavior?

I should be able to see all the commits on ly project including tags such as rel001.

Relevant logs and/or screenshots

n/a

Output of checks

This bug happens on GitLab.com and Enterprise Edition

Results of GitLab environment info

n/a

Results of GitLab application Check

n/a

Possible fixes

Run for the hills ...

Assignee Loading
Time tracking Loading