summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-08-07 12:43:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-08-07 12:43:32 +0000
commit28f513b48ca4ee99be3753257b40332b8194ae83 (patch)
treed4648fda2d779e060f54eeb6b5dc219cdb76ccac
parente8980ad7704dcaee6e08dad1478a1987e0fd4225 (diff)
downloadredmine-28f513b48ca4ee99be3753257b40332b8194ae83.tar.gz
redmine-28f513b48ca4ee99be3753257b40332b8194ae83.zip
fix source indent of lib/redmine/scm/adapters/filesystem_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19954 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/redmine/scm/adapters/filesystem_adapter.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/redmine/scm/adapters/filesystem_adapter.rb b/lib/redmine/scm/adapters/filesystem_adapter.rb
index 1bd559c49..829bd6513 100644
--- a/lib/redmine/scm/adapters/filesystem_adapter.rb
+++ b/lib/redmine/scm/adapters/filesystem_adapter.rb
@@ -80,14 +80,16 @@ module Redmine
p1 = File.readable?(t1) ? relative_path : ""
utf_8_path = scm_iconv('UTF-8', @path_encoding, p1)
entries <<
- Entry.new({ :name => scm_iconv('UTF-8', @path_encoding, File.basename(e1)),
- # below : list unreadable files, but dont link them.
- :path => utf_8_path,
- :kind => (File.directory?(t1) ? 'dir' : 'file'),
- :size => (File.directory?(t1) ? nil : File.size(t1)),
- :lastrev =>
- Revision.new({:time => (File.mtime(t1)) })
- })
+ Entry.new(
+ {
+ :name => scm_iconv('UTF-8', @path_encoding, File.basename(e1)),
+ # below : list unreadable files, but dont link them.
+ :path => utf_8_path,
+ :kind => (File.directory?(t1) ? 'dir' : 'file'),
+ :size => (File.directory?(t1) ? nil : File.size(t1)),
+ :lastrev => Revision.new({:time => (File.mtime(t1))})
+ }
+ )
end
end
entries.sort_by_name