Network graph incorrect when no contributions to master since branch was created.
Created by: jokester01au
- Create new gitlab project.
- Follow "Create Repository" instructions.
- change a file.
- commit, push
- git checkout -b a
- edit file
- commit
- git push origin a
You incorrectly see a branched from the master:
Once you make a new commit to the master branch, the correct network is shown:
Not precisely sure how to give you a version indication. I updated my installation from github about a fortnight ago.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Owner
Created by: liselorev
Not precisely sure how to give you a version indication. I updated my installation from github about a fortnight ago
check the file VERSION in your gitlab root (/home/gitlab/gitlab/VERSION or so).
By Administrator on 2012-09-28T08:03:24 (imported from GitLab project)
By Administrator on 2012-09-28T08:03:24 (imported from GitLab)
- Author Owner
Created by: PaulWagener
I reproduced the same problem in my installation (4.0.0)
By Administrator on 2012-12-31T16:01:26 (imported from GitLab project)
By Administrator on 2012-12-31T16:01:26 (imported from GitLab)
- Author Owner
Created by: Isammoc
Same thing here. (4.0.0)
But rather to only manage
master
, is it possible to put default branch (mine is calleddev
as example) as first line in network graph ?By Administrator on 2013-01-02T11:19:41 (imported from GitLab project)
By Administrator on 2013-01-02T11:19:41 (imported from GitLab)
- Author Owner
Created by: linniksa
why this is not correct?
By Administrator on 2013-01-02T11:23:43 (imported from GitLab project)
By Administrator on 2013-01-02T11:23:43 (imported from GitLab)
- Author Owner
Created by: vsizov
that's correct
By Administrator on 2013-01-02T11:37:34 (imported from GitLab project)
By Administrator on 2013-01-02T11:37:34 (imported from GitLab)
- Author Owner
Created by: PaulWagener
In that case it is extremely misleading. The network graph suggests that the parent of commit #3 (closed) is commit #2 (closed), while in reality it is commit #1 (closed).
By Administrator on 2013-01-02T11:41:43 (imported from GitLab project)
By Administrator on 2013-01-02T11:41:43 (imported from GitLab)
- Author Owner
Created by: linniksa
By you original explanation first picture is correct but second show wrong state?
By Administrator on 2013-01-02T11:51:43 (imported from GitLab project)
By Administrator on 2013-01-02T11:51:43 (imported from GitLab)
- Author Owner
- Author Owner
Created by: linniksa
by this steps:
Create new gitlab project. Follow "Create Repository" instructions. change a file. commit, push # master is here git checkout -b a # create a new branch with name a and checkout it, in this step master = a edit file commit git push origin a
you must see first image and it is correct
By Administrator on 2013-01-02T12:23:58 (imported from GitLab project)
By Administrator on 2013-01-02T12:23:58 (imported from GitLab)
- Author Owner
Created by: PaulWagener
I've created a sample repo at https://github.com/PaulWagener/Network-Graph-Demonstration to demonstrate the problem.
GitHub visualises it like this:
https://github.com/PaulWagener/Network-Graph-Demonstration/network
Git on the command line agrees:
But GitLab somehow thinks it is linear:
In all cases I've used exactly the same git repository.
By Administrator on 2013-01-02T13:43:21 (imported from GitLab project)
By Administrator on 2013-01-02T13:43:21 (imported from GitLab)
- Author Owner
Created by: PaulWagener
4.1 fixed this issue so it can be closed.
By Administrator on 2013-01-31T15:45:14 (imported from GitLab project)
By Administrator on 2013-01-31T15:45:14 (imported from GitLab)
- Author Owner
Created by: Razer6
@Riyad fixed, please close.
By Administrator on 2013-02-14T21:08:38 (imported from GitLab project)
By Administrator on 2013-02-14T21:08:38 (imported from GitLab)
- Author Owner
Created by: aredridel
I just had this in 5.0.
By Administrator on 2013-04-30T13:11:26 (imported from GitLab project)
By Administrator on 2013-04-30T13:11:26 (imported from GitLab)