From 5808a3cf23cfad7b1b409a5c7e948adaab920477 Mon Sep 17 00:00:00 2001 From: Thibaud Guillaume-Gentil Date: Thu, 2 Jun 2011 23:58:07 +0200 Subject: [PATCH] Removed merged code commented --- lib/guard/listener.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/guard/listener.rb b/lib/guard/listener.rb index c226c35..b8e608c 100644 --- a/lib/guard/listener.rb +++ b/lib/guard/listener.rb @@ -47,10 +47,6 @@ module Guard end def modified_files(dirs, options = {}) -# <<<<<<< HEAD -# files = potentially_modified_files(dirs, options).select { |path| File.file?(path) && file_modified?(path) } -# files.map! { |file| file.gsub("#{Dir.pwd}/", '') } -# ======= files = potentially_modified_files(dirs, options).select { |path| File.file?(path) && file_modified?(path) } relativate_paths files end @@ -66,7 +62,6 @@ module Guard def all_files potentially_modified_files [directory + '/'], :all => true -# >>>>>>> b12769d2bf385b3c69973721144cae3d5d8fbed9 end # scopes all given paths to the current #directory