mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-04-01 03:18:40 +00:00
Fixed merge bug
This commit is contained in:
parent
a7e337b153
commit
5f8949cba6
|
|
@ -853,6 +853,10 @@ class Repository
|
|||
throw new \Exception('Invalid commit id');
|
||||
}
|
||||
|
||||
if(StringUtils::startsWith($lines[1], 'Merge')) {
|
||||
return new Commit();
|
||||
}
|
||||
|
||||
// todo: validate if array values are all initialized
|
||||
$author = explode(':', $lines[1]);
|
||||
$author = explode('<', trim($author[1]));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user