Removed merged code commented

This commit is contained in:
Thibaud Guillaume-Gentil 2011-06-02 23:58:07 +02:00
parent fb5caf43f6
commit 5808a3cf23

View File

@ -47,10 +47,6 @@ module Guard
end end
def modified_files(dirs, options = {}) 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) } files = potentially_modified_files(dirs, options).select { |path| File.file?(path) && file_modified?(path) }
relativate_paths files relativate_paths files
end end
@ -66,7 +62,6 @@ module Guard
def all_files def all_files
potentially_modified_files [directory + '/'], :all => true potentially_modified_files [directory + '/'], :all => true
# >>>>>>> b12769d2bf385b3c69973721144cae3d5d8fbed9
end end
# scopes all given paths to the current #directory # scopes all given paths to the current #directory