[why] The repo files changed, folder 'linux' is for different project, so can not handle it as before
Signed-off-by: Li Yuanchao lyc163mail@163.com --- lib/git_mirror.rb | 1 - 1 file changed, 1 deletion(-)
diff --git a/lib/git_mirror.rb b/lib/git_mirror.rb index 2b78523..65d6940 100644 --- a/lib/git_mirror.rb +++ b/lib/git_mirror.rb @@ -117,7 +117,6 @@ class MirrorMain if File.directory? repodir load_defaults(repodir) entry_list = Dir.entries(repodir) - Array['.', '..', 'DEFAULTS', '.ignore', '.git'] - entry_list = Array['linus'] if File.basename(repodir) == 'linux' entry_list.each do |entry| traverse_repodir("#{repodir}/#{entry}") end