diff --git a/Commands/Add All.tmCommand b/Commands/Add All.tmCommand deleted file mode 100644 index c421600..0000000 --- a/Commands/Add All.tmCommand +++ /dev/null @@ -1,26 +0,0 @@ - - - - - beforeRunningCommand - nop - command - #!/usr/bin/env ruby -wKU - -require ENV['TM_BUNDLE_SUPPORT'] + '/lib/git.rb' -require ENV['TM_SUPPORT_PATH'] + '/lib/escape.rb' - -git = SCM::Git.new -git.add_all - input - none - keyEquivalent - ^G - name - Add All - output - discard - uuid - BB20148C-1E6E-42CD-B41D-59647226F112 - - diff --git a/Support/lib/git.rb b/Support/lib/git.rb index 764d8f3..a26bba5 100644 --- a/Support/lib/git.rb +++ b/Support/lib/git.rb @@ -155,12 +155,6 @@ module SCM %x{#{e_sh @git} checkout #{e_sh name}} rescan_project end - - def add_all(base = nil) - base = File.expand_path("..", git_dir(file)) if base.nil? - Dir.chdir(base) - %x{#{e_sh git} add .} -p end end end