lib/rsync/result.rb in rsync-0.0.3 vs lib/rsync/result.rb in rsync-0.0.4
- old
+ new
@@ -75,10 +75,10 @@
def change_list
list = []
@raw.split("\n").each do |line|
#if line =~ /^([<>ch.*][fdLDS][ .+\?cstTpoguax]{9}) (.*)$/
- if line =~ /^([<>ch\.\*].{10}) (.*)$/
+ if line =~ /^([<>ch+\.\*].{10}) (.*)$/
detail = Change.new(line)
list << detail if detail.changed?
end
end
list