Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
-
1
-
1
-
Description
Summary
When displaying a git repository within another repository, the Bitbucket Server user interface shows an "empty repository" (the page containing the instructions to push a new repository).
Steps to Reproduce
- Copy a git repository within an existing git repository
- Push the repository to Bitbucket Server
- Open the repository in the user interface
Expected Results
The repository shows either an error or the displayable part of the repository.
Actual Results
The below exception is thrown in the atlassian-bitbucket.log file:
WARN [io-pump:thread-7] <username> @DEV2A4x508x167x0 gd3sg1 <ip address> "GET /projects/<project_slug>/repos/<repo_key>/browse HTTP/1.1" c.a.s.i.s.g.s.DefaultGitSubmoduleHelper Error looking up submodules for 'refs/heads/master' in '<project_slug>/<repo_key>[<repo_id>]'
Notes
Having a nested Git repository is not supported.
Workaround
To display the repository in the Bitbucket Server user interface, remove the nested Git repository.