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 '
som...@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.l...@gmail.com>