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
  • #909

Closed
Open
Created Jun 08, 2012 by Administrator@rootOwner

Merging branches to one common makes them indistinguishable on the network graph.

Created by: veprbl

I had three branches master, sds and winstоn, which share no common commits, then I've done

% git merge sds
% git merge winstоn

and got kinda strange network graph: http://rghost.net/38558390/image.png

All of commits for my branches are looking the same now and I have troubles distinguishing which branch does certain commit relate to.

Steps to reproduce:

% git init
% touch README
% git add README
% git commit -m 'first commit'
% git push -u origin master
% git checkout -b branch1
% echo branch1 > README
% git commit -a -m "branch1 commit"
% git checkout master              
% git checkout -b branch2
% echo branch2 > README           
% git commit -a -m "branch2 commit"
% git push origin branch2

At this point network for my project looks fine: http://rghost.net/38558365/image.png

% echo master > README 
% git commit -m "master commit"
% git merge branch1            
% git commit -a
% git merge branch2
% git commit -a    
% git push

Here we end up with following network graph http://rghost.net/38558384/image.png which looks quiet weird.

This reproduces with gitlab 2.1-2.5 on Firefox, Opera and Chromium.

Assignee
Assign to
Time tracking