gitlab-org--gitlab-foss/lib
Douwe Maan ae1da08f25 Merge branch 'safe-ref-updates' into 'master'
Safer ref updates

Use `git update-ref` to prevent clobbering concurrent ref updates. If
rugged/libgit2 is temporarily confused, due to concurrent `git gc` for
example, then it used to be possible to accidentally reset a ref to an
earlier state and lose commits. Because `git update-ref` does not get
confused by `git gc`, what will happen now is that the commit based on
confused information fails, preventing data loss.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/20353

See merge request !6130
2016-09-05 10:48:06 +00:00
..
api Merge branch 'internal_recovery_api' into 'master' 2016-09-02 14:20:07 +00:00
assets move assets from lib directory to vendor 2012-05-29 17:56:48 +05:00
backup lib/backup: fix broken permissions when creating repo dir 2016-08-30 13:35:50 +02:00
banzai Merge branch 'js-tooltips-for-mentions' into 'master' 2016-09-01 14:36:09 +00:00
ci Add Sentry logging to API calls 2016-08-24 12:09:51 -07:00
container_registry
gitlab Use 'git update-ref' for safer web commits 2016-09-02 11:49:40 +02:00
json_web_token Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
omni_auth
rouge/formatters Trim extra displayed carriage returns in diffs and files with CRLFs 2016-08-01 13:24:06 +02:00
support Revert "Defend against 'Host' header injection" 2016-08-08 13:02:44 +02:00
tasks Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
banzai.rb Object renderer read_multi rendered entries from Cache 2016-07-12 14:35:29 +02:00
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb Restore get_id in ExtractsPath 2016-08-24 12:54:16 +02:00
file_size_validator.rb Get rid of more requires, which causes warnings when code is reloaded 2016-04-19 11:48:10 +02:00
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb Use project ID in repository cache to prevent stale data from persisting across projects 2016-07-25 05:09:28 -07:00
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb