OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1799cf3
)
Fix logs not showing in Tree for the root path
author
Robert Speicher
<rspeicher@gmail.com>
Wed, 26 Sep 2012 03:56:27 +0000
(23:56 -0400)
committer
Robert Speicher
<rspeicher@gmail.com>
Wed, 26 Sep 2012 20:32:25 +0000
(16:32 -0400)
app/controllers/refs_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/refs_controller.rb
b/app/controllers/refs_controller.rb
index
6ae816e
..
e92f452
100644
(file)
--- a/
app/controllers/refs_controller.rb
+++ b/
app/controllers/refs_controller.rb
@@
-55,7
+55,7
@@
class RefsController < ApplicationController
@commit = CommitDecorator.decorate(@commit)
@tree = Tree.new(@commit.tree, project, @ref, params[:path])
@tree = TreeDecorator.new(@tree)
- @hex_path = Digest::SHA1.hexdigest(params[:path] || "
/
")
+ @hex_path = Digest::SHA1.hexdigest(params[:path] || "")
if params[:path]
@history_path = project_tree_path(@project, File.join(@ref, params[:path]))