diff options
author | Rémy Coutable <remy@rymai.me> | 2016-06-28 10:30:03 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-06-28 10:30:03 +0000 |
commit | 1897d75bdc8a661a8bba9ccfd4aba6e905556e2c (patch) | |
tree | 9cfc3410605703140d02fc9d1f281a3ff8fe4e97 /lib/api/variables.rb | |
parent | 2c3f3cb3920c5242cbc66456b3eed423636a2128 (diff) | |
parent | 8fb4c506e29cce8c14a5371e844c5d50fdfd5220 (diff) | |
download | gitlab-ce-1897d75bdc8a661a8bba9ccfd4aba6e905556e2c.tar.gz |
Merge branch 'display-deleted-ref-in-events' into 'master'
Display last commit of deleted branch in push events
## What does this MR do?
Display the last commit of a deleted branch in the push events of a project.
## Are there points in the code the reviewer needs to double check?
Is the change in `app/models/event.rb` the correct way to display a two-line event for deleted branches?
## Why was this MR needed?
It is easier to restore an accidentally deleted branch if the commit hash is displayed in the push events.
## What are the relevant issue numbers?
Fixes #18659
## Screenshots
### Before garbage collection

### After garbage collection

See merge request !4699
Diffstat (limited to 'lib/api/variables.rb')
0 files changed, 0 insertions, 0 deletions