gitlab-org--gitlab-foss/lib/gitlab/background_migration
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
..
.gitkeep
deserialize_merge_request_diffs_and_commits.rb Fix MR diffs background migration when file modes are missing 2017-08-18 13:02:30 +01:00
migrate_build_stage_id_reference.rb Simplify stage_id migration as we now use relations 2017-07-07 15:52:45 +02:00
migrate_events_to_push_event_payloads.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
migrate_system_uploads_to_new_folder.rb Allow groups with the name system 2017-07-18 16:23:38 +02:00
move_personal_snippet_files.rb Move the personal snippet uploads from system to -/system 2017-08-11 18:17:45 +02:00