Permalink
Browse files

fixed fuzzy label on --diff output

[git-p4: depot-paths = "//src/flay/dev/": change = 8376]
  • Loading branch information...
1 parent 0ac9ebb commit d695e6ac708f410f9007bf38f6efd3d6e9aee201 @zenspider zenspider committed Apr 10, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/flay.rb
View
3 lib/flay.rb
@@ -463,7 +463,8 @@ def report prune = nil
nodes.sort_by { |x| [x.file, x.line] }.each_with_index do |x, i|
if option[:diff] then
c = (?A.ord + i).chr
- puts " #{c}: #{x.file}:#{x.line}"
+ extra = " (FUZZY)" if x.modified?
+ puts " #{c}: #{x.file}:#{x.line}#{extra}"
else
extra = " (FUZZY)" if x.modified?
puts " #{x.file}:#{x.line}#{extra}"

0 comments on commit d695e6a

Please sign in to comment.