gitlab-org--gitlab-foss/spec
Sean McGivern 34a859ee2a Fix MR diffs background migration when file modes are missing
Guess the modes based on the following:

1. If the file didn't exist, it's zero.
2. If the diff contains 'Subproject commit', it might be a submodule, so 0600.
3. Otherwise, it's 0644.

This isn't perfect, but it doesn't have to be - it won't change file modes in
the repository.
2017-08-18 13:02:30 +01:00
..
bin Fix Layout/SpaceBeforeBlockBraces violation in bin/changelog_spec 2017-08-10 19:22:59 -04:00
config Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
controllers Merge remote-tracking branch 'upstream/master' into 36089-handle-ref-failure-better 2017-08-14 19:33:35 +08:00
db/production
factories Merge remote-tracking branch 'upstream/master' into 36089-handle-ref-failure-better 2017-08-14 19:33:35 +08:00
features Merge branch '36087-users-cannot-delete-their-account' into 'master' 2017-08-17 14:17:05 +00:00
finders Merge remote-tracking branch 'upstream/master' into 36089-handle-ref-failure-better 2017-08-14 19:33:35 +08:00
fixtures Merge branch '35098-raise-encoding-confidence-threshold' into 'master' 2017-08-08 13:44:05 +00:00
helpers Merge branch '36041-notification-title' into 'master' 2017-08-18 08:50:59 +00:00
initializers Setup repositories settings properly 2017-08-17 16:00:07 -07:00
javascripts fix unnecessarily long gl.utils.backOff test 2017-08-18 03:01:23 -05:00
lib Fix MR diffs background migration when file modes are missing 2017-08-18 13:02:30 +01:00
mailers Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
migrations Merge branch 'backstage/gb/migrations-tests-schema-version' into 'master' 2017-08-17 11:54:54 +00:00
models Merge branch 'ee-2628-backport-to-ce' into 'master' 2017-08-17 13:53:39 +00:00
policies
presenters Store & use ConvDev percentages returned by Version app 2017-08-07 20:52:08 +02:00
requests Merge branch '34049-public-commits-should-not-require-authentication' into 'master' 2017-08-16 10:39:10 +00:00
routing fix #3686 make tarball download url to end with extension 2017-08-03 16:44:48 +00:00
rubocop/cop Add SaferBooleanColumn cop 2017-08-14 07:57:57 -07:00
serializers Enable Timecop safe mode 2017-08-11 14:53:17 +02:00
services Merge branch 'dm-gpg-signature-performance' into 'master' 2017-08-16 18:34:55 +00:00
sidekiq/cron
support Merge branch 'backstage/gb/migrations-tests-schema-version' into 'master' 2017-08-17 11:54:54 +00:00
tasks Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
unicorn
uploaders Make sure uploads for personal snippets are correctly rendered 2017-08-11 18:15:02 +02:00
validators
views Display GPG status loading spinner only when Ajax request is made 2017-08-15 08:20:35 +00:00
workers Merge branch 'ee-2628-backport-to-ce' into 'master' 2017-08-17 13:53:39 +00:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb Better categorize test coverage results 2017-08-11 10:59:11 -04:00
spec_helper.rb Migrate down before each migration unit test 2017-08-17 11:42:17 +02:00