API returns branches with wrong merge status
Hi,
Yesterday (10.01.2019 around 16 GMT time) I noticed that API started to return me branches with wrong status. Branches that are and were (for very long time) reported as merged, have merged: false flag.
Example: https://gitlab.com/maxymiser-emea-travel/airberlin.de/branches/stale branch name t60-ancillary-popup-phase-II is flagged as merged.
Then request to API: https://gitlab.com/api/v4/projects/477210/repository/branches
One of the object in list in response is:
{
"name":"t60-ancillary-popup-phase-II",
"commit":{
"id":"55322ddcf6a7d104960e9e26961f5a4420aac8a3",
"short_id":"55322ddc",
"title":"Post-live update",
... some private data here
},
"merged":false,
"protected":false,
"developers_can_push":false,
"developers_can_merge":false,
"can_push":true,
"default":false
}
Interestingly when fetching just single branch details: https://gitlab.com/api/v4/projects/477210/repository/branches/t60-ancillary-popup-phase-II
It returns proper status.