Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroyuki Sato <h-sato@ruby-dev.jp>2016-10-28 14:38:14 +0300
committerHiroyuki Sato <h-sato@ruby-dev.jp>2016-11-06 06:05:13 +0300
commit56264f35d40e3ebcebf2b88b9ff6f3a8f4f545e9 (patch)
tree5ba7c48578b118e2b00ebfa1489f9f39acb87518 /lib/extracts_path.rb
parentc392b0cc24ba40e3fed920c6c693cb24665193af (diff)
Network page appear with an error message when entering nonexistent git revision
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r--lib/extracts_path.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index 9b74364849e..a8cc189a8c2 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -125,9 +125,9 @@ module ExtractsPath
request.format = :atom if @commit
end
- end
- raise InvalidPathError unless @commit
+ raise InvalidPathError unless @commit
+ end
@hex_path = Digest::SHA1.hexdigest(@path)
@logs_path = logs_file_namespace_project_ref_path(@project.namespace,