lib/add.rb in dev_commands-0.0.20 vs lib/add.rb in dev_commands-0.0.21
- old
+ new
@@ -4,10 +4,10 @@
add 'git add --all'
else
if(defined?(SOURCE))
if(File.exists?('.svn'))
SOURCE.each{|f|
- add "svn add #{f}" if `svn status #{f}`.include?('?')
+ add "svn add #{f} --parents" if `svn status #{f}`.include?('?')
}
end
if(File.exists?('.git'))
SOURCE.each{|f|
add "git add #{f} -v" if `git status #{f}`.include?('untracked')
\ No newline at end of file