Permalink
Browse files

Added support for unchanged files.

git-svn-id: http://svn.textmate.org/trunk/Bundles/CVS.tmbundle@2828 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 776694e commit 2d9f86578ab1f653998c5521c6b15679a32507f0 Brian Donovan committed Mar 7, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 Support/diff.rb
View
@@ -10,7 +10,7 @@ def changes(reload=false)
@changes = nil if reload
@changes ||= @raw.split(/\n/)[5..-1].select { |l| l =~ /^\d/ }.inject({}) do |changes,line|
changes.merge change_from_hunk_header(line)
- end
+ end rescue []
end
# def source_line_status(n)

0 comments on commit 2d9f865

Please sign in to comment.