gitlab-org--gitlab-foss/lib
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
..
api
assets
backup
banzai
bitbucket
ci
constraints
container_registry
declarative_policy
generators/rails/post_deployment_migration
github
gitlab Fix MR diffs background migration when file modes are missing 2017-08-18 13:02:30 +01:00
haml_lint
json_web_token
mattermost
microsoft_teams
omni_auth/strategies
peek/rblineprof
rouge
rspec_flaky
support
system_check
tasks
additional_email_headers_interceptor.rb
after_commit_queue.rb
banzai.rb
declarative_policy.rb
disable_email_interceptor.rb
email_template_interceptor.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb
file_size_validator.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb