Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-03 11:49:47 +0300
committerDouwe Maan <douwe@gitlab.com>2015-04-03 11:49:47 +0300
commit9157985cfce1391973673ea278dc7506a90f8f53 (patch)
tree5d53823622d6ebde0ed2784513418445efd6e550 /app/models/deploy_key.rb
parent317206300d56eb2fc4f7c3701151f47f8f1e6eef (diff)
parentb277f23a538ffbbf100719f4d7434a9e458d5b5e (diff)
Merge branch 'fix-backup-spec-regexp' into 'master'
Improve regexp to prevent false positives If a filename happened to contain "db" and enough "rwx" characters before, then this test would previously fail. For example: ``` drwxr-xr-x gitlab-runner/gitlab-runner 0 2015-04-02 07:46 uploads/tmp/cassidy.stokes8477/gitlabhq/36d972fa55d6b44810fc6fd843473adb/ ``` Adding a space before the "db" match string tightens up the regexp and reduces the chance of an unintended match. See merge request !489
Diffstat (limited to 'app/models/deploy_key.rb')
0 files changed, 0 insertions, 0 deletions