Here is an example weird graph.

https://gitlab.com/trust-me-not/test-graph/network/master

Please, check 'Begin with the selected commit',
and we get a graph expected.

--
Lemures Lemniscati <lemures.lemnisc...@gmail.com>


==
Subject: Weird graphs
Date: Mon, 17 Apr 2017 20:49:22 +0900
From: Lemures Lemniscati <lemures.lemnisc...@gmail.com>

> Hi,
> 
> We see weird graphs sometimes on GitLab.
> They will be reproduced by the following steps.
> 
> (1) Clone an empty project on GitLab.com
>     and do on a local repository:
> 
> git config user.name 'Some One'
> git config user.email 'some...@example.com'
> 
> git commit --allow-empty -m 'An empty commit'
> sleep 2
> 
> echo TEST FILE A > a
> git add .
> git commit -m 'Add a file `a`'
> sleep 2
> 
> git push -u origin master
> sleep 2
> 
> echo TEST FILE B > b
> git add .
> git commit -m 'Add a file `b`'
> sleep 2
> 
> git checkout -b branch_n origin/master
> echo TEST FILE N > n
> git add .
> git commit -m 'Add a file `n`'
> sleep 2
> 
> git push -u origin branch_n
> sleep 2
> 
> git checkout master 
> git push
> sleep 2
> 
> echo TEST FILE C > c
> git add .
> git commit -m 'Add a file `c`'
> sleep 2
> 
> git push 
> sleep 2
> 
> git merge --no-edit branch_n
> sleep 2
> 
> git push 
> 
> 
> (2) Browse the graph page of the project
> 
>   We will see branch_n above master,
>   and get a weird graph.
> 
> 
> (3) Check a box 'Begin with the selected commit'
> 
>   And we get a graph, which is the one expected:
>   `n` is placed between `c` and `b`.
> 
> 
> Is this a known issue?
> 
> Regards,
> 
> --
> Lemures Lemniscati <lemures.lemnisc...@gmail.com>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/20170417211207.C125.50F79699%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Weird graphs Lemures Lemniscati
    • Re: Weird graphs Lemures Lemniscati

Reply via email to