https://bugs.kde.org/show_bug.cgi?id=385668

            Bug ID: 385668
           Summary: git: revision graph gets confused when head is
                    detached
           Product: kdevelop
           Version: 5.0.3
          Platform: Debian stable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: VCS: Git
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: a...@hypertriangle.com
  Target Milestone: ---

The git vcs plugin seems to be parsing the string "(HEAD detached at
origin/master)" as an actual branch name, this seems wrong.

Steps to reproduce:

bash$ git --version
git version 2.15.0.rc0.271.g36b669edcc

bash$ git checkout origin/master # i do this often, without creating a local
branch
...
bash$ git branch
* (HEAD detached at origin/master)
  other branches here

Right click file, Git > Revision Graph...

> git rev-list remotes/origin/some-branch '^(HEAD detached at origin/master)'
fatal: bad revision '^(HEAD detached at origin/master)'

Command finished with error UnknownError.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to