piston diff should ignore the newly created .tmp dir. Currently it attempts to recurse into my_project/.tmp and diff
it with my_project/.tmp/.tmp.
Index: tags/1.4.0/lib/piston/commands/diff.rb
===================================================================
--- tags/1.4.0/lib/piston/commands/diff.rb (revision 141)
+++ tags/1.4.0/lib/piston/commands/diff.rb (working copy)
@@ -33,7 +33,7 @@
end
def run_diff(dir1, dir2)
- `diff -urN --exclude=.svn #{dir1} #{dir2}`
+ `diff -urN --exclude=.svn --exclude=#{dir2.tmp} #{dir1} #{dir2}`
end
def self.help |