Skip to content
Snippets Groups Projects
Commit 05187f0f authored by Douwe Maan's avatar Douwe Maan
Browse files

Properly generate diff of orphan commits, like the first commit in a repository

parent 4d64a32c
No related branches found
No related tags found
No related merge requests found
Please view this file on the master branch, on stable branches it's out of date.
 
v 8.4.0 (unreleased)
- Properly generate diff of orphan commits, like the first commit in a repository
- Autocomplete data is now always loaded, instead of when focusing a comment text area (Yorick Peterse)
- Improved performance of finding issues for an entire group (Yorick Peterse)
- Added custom application performance measuring system powered by InfluxDB (Yorick Peterse)
Loading
Loading
Loading
Loading
@@ -56,8 +56,9 @@ module Gitlab
private
 
def filename?(line)
line.start_with?('--- /dev/null', '+++ /dev/null', '--- a', '+++ b',
'--- /tmp/diffy', '+++ /tmp/diffy')
line.start_with?( '--- /dev/null', '+++ /dev/null', '--- a', '+++ b',
'+++ a', # The line will start with `+++ a` in the reverse diff of an orphan commit
'--- /tmp/diffy', '+++ /tmp/diffy')
end
 
def identification_type(line)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment