Ambiguous argument 'HEAD' error
~Conversation: #220 (closed)
Apparently coming from FindDefaultBranchName
Redacted log
2017-05-19_15:48:29.51048 2017/05/19 15:48:29 2017-05-19_15:48:29.51048 2017/05/19 15:48:29 FindDefaultBranchName: RepoPath="/var/opt/gitlab/git-data-file07/repositories/namespace/repo.git"
2017-05-19_15:48:29.66281 fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
2017-05-19_15:48:29.66287 Use '--' to separate paths from revisions, like this:
2017-05-19_15:48:29.66291 'git <command> [<revision>...] -- [<file>...]'
2017-05-19_15:48:30.15280 2017/05/19 15:48:30 FindDefaultBranchName: RepoPath="/var/opt/gitlab/git-data-file07/repositories/namespace/repo.git"
2017-05-19_15:48:30.28584 fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
2017-05-19_15:48:30.28591 Use '--' to separate paths from revisions, like this:
2017-05-19_15:48:30.28595 'git <command> [<revision>...] -- [<file>...]'
2017-05-19_15:48:30.99625 2017/05/19 15:48:30 FindDefaultBranchName: RepoPath="/var/opt/gitlab/git-data-file07/repositories/namespace/repo.git"
2017-05-19_15:48:31.17298 fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
2017-05-19_15:48:31.17398 Use '--' to separate paths from revisions, like this:
2017-05-19_15:48:31.17406 'git <command> [<revision>...] -- [<file>...]'
2017-05-19_15:48:35.74751 2017/05/19 15:48:35 FindDefaultBranchName: RepoPath="/var/opt/gitlab/git-data-file05/repositories/namespace/repo.git": RepoPath="/var/opt/gitlab/git-data-file07/repositories/namespace/repo.git"
2017-05-19_15:48:29.66281 fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
2017-05-19_15:48:29.66287 Use '--' to separate paths from revisions, like this:
2017-05-19_15:48:29.66291 'git <command> [<revision>...] -- [<file>...]'
2017-05-19_15:48:30.15280 2017/05/19 15:48:30 FindDefaultBranchName: RepoPath="/var/opt/gitlab/git-data-file07/repositories/namespace/repo.git"
2017-05-19_15:48:30.28584 fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
2017-05-19_15:48:30.28591 Use '--' to separate paths from revisions, like this:
2017-05-19_15:48:30.28595 'git <command> [<revision>...] -- [<file>...]'
2017-05-19_15:48:30.99625 2017/05/19 15:48:30 FindDefaultBranchName: RepoPath="/var/opt/gitlab/git-data-file07/repositories/namespace/repo.git"
2017-05-19_15:48:31.17298 fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
2017-05-19_15:48:31.17398 Use '--' to separate paths from revisions, like this:
2017-05-19_15:48:31.17406 'git <command> [<revision>...] -- [<file>...]'
Edited by Alejandro Rodríguez