lib/add.rb in dev_commands-0.0.25 vs lib/add.rb in dev_commands-0.0.26
- old
+ new
@@ -1,16 +1,15 @@
class Add < Array
def update
if(File.exists?('.gitignore'))
- add 'git add --all'
+ add 'git add --all :/'
else
if(defined?(SOURCE))
if(File.exists?('.svn'))
SOURCE.each{|f|
add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('?')
add "svn add #{f} --parents" if Command.exit_code("svn status #{f}") != 0
- #add "svn add #{f} --parents" if status.include?('?') || status.include?(n)
}
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