summaryrefslogtreecommitdiffstats
path: root/lib/git/base.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-16 11:48:45 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-16 11:48:45 -0800
commitbe47ad8aea4f854fc2d6773456fb28f3e9f519e7 (patch)
tree9b91d912379e267f483e434627c391cc6c37f4c0 /lib/git/base.rb
parent613757c2869dde6e8c600c55d065dba24e67097a (diff)
downloadthird_party-ruby-git-be47ad8aea4f854fc2d6773456fb28f3e9f519e7.tar.gz
third_party-ruby-git-be47ad8aea4f854fc2d6773456fb28f3e9f519e7.tar.xz
third_party-ruby-git-be47ad8aea4f854fc2d6773456fb28f3e9f519e7.zip
added checkout_index
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r--lib/git/base.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb
index 4c5cdf5..2986864 100644
--- a/lib/git/base.rb
+++ b/lib/git/base.rb
@@ -361,6 +361,10 @@ module Git
with_index(temp_path, &blk)
end
+ def checkout_index(opts = {})
+ self.lib.checkout_index(opts)
+ end
+
def read_tree(treeish, opts = {})
self.lib.read_tree(treeish, opts)
end
@@ -382,6 +386,7 @@ module Git
branch(branch).update_ref(commit)
end
+
def ls_files
self.lib.ls_files
end