Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4944

Closed
Open
Created Aug 30, 2013 by Administrator@rootOwner

Web merge request fails if target branch name == directory/file in repository

Created by: kndonlee

Error Summary

Once a merge request has been placed to merge branch X into master, pressing the "Accept Merge Request" appears to works for a moment and throws the user back to the same page with the "Accept Merge Request" button lightly greened out and unclickable.

Error Message

The githost.log shows the following error:

August 29, 2013 20:28 -> ERROR -> Command failed [1]: /usr/bin/git --git-dir=/data/git/gitlab-satellites/inits/carnfx/.git push origin master

error: src refspec master does not match any.

error: failed to push some refs to '/data/git/repositories/inits/carnfx.git'

Other information

  • running gitlab 6.0
  • merge requests from branches other than master e.g. branch X to branch Y work as expected.
  • merge requests from master to other branches also work as expected.
  • due to partition space limitations, /home/git was moved to /data/git (all other functionality works as expected, but not sure if this may be a contributor to this problem)
  • sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production returns cleanly
Assignee
Assign to
Time tracking