1
0
Fork 0

Fix misspelling

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
pull/7079/head
Gabriel Caruso 2018-02-04 22:41:28 -02:00
parent 916b488c61
commit f722f952e7
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@
* Added `COMPOSER_MIRROR_PATH_REPOS` env var to force mirroring of path repositories vs symlinking * Added `COMPOSER_MIRROR_PATH_REPOS` env var to force mirroring of path repositories vs symlinking
* Added `COMPOSER_DEV_MODE` env var that is set by Composer to forward the dev mode to script handlers * Added `COMPOSER_DEV_MODE` env var that is set by Composer to forward the dev mode to script handlers
* Fixed support for git 2.11 * Fixed support for git 2.11
* Fixed output from zip and rar leaking out when an error occured * Fixed output from zip and rar leaking out when an error occurred
* Removed `hash` from composer.lock, only `content-hash` is now used which should reduce conflicts * Removed `hash` from composer.lock, only `content-hash` is now used which should reduce conflicts
* Minor fixes and performance improvements * Minor fixes and performance improvements

View File

@ -129,7 +129,7 @@ class GitLabDriver extends VcsDriver
return $this->gitDriver->getFileContent($file, $identifier); return $this->gitDriver->getFileContent($file, $identifier);
} }
// Convert the root identifier to a cachable commit id // Convert the root identifier to a cacheable commit id
if (!preg_match('{[a-f0-9]{40}}i', $identifier)) { if (!preg_match('{[a-f0-9]{40}}i', $identifier)) {
$branches = $this->getBranches(); $branches = $this->getBranches();
if (isset($branches[$identifier])) { if (isset($branches[$identifier])) {