lib/dev/cmd/Commit.rb in dev-1.0.237 vs lib/dev/cmd/Commit.rb in dev-1.0.238
- old
+ new
@@ -5,9 +5,10 @@
strip_auto_entries
File.open('commit.message','w'){|f|f.puts "commit all"} if !File.exists?('commit.message')
scm_type = Scm.get_default_scm_type
if scm_type == "svn"
self << "{:cmd=>'svn commit -F commit.message',:auto=>true,:throw_on_error=>false}"
+ #File.delete('commit.message') if File.exists?('commit.message')
else
if scm_type == "git"
self << "{:cmd=>'git commit -a -F commit.message',:auto=>true}"
end
end
\ No newline at end of file