diff options
author | Scott Chacon <schacon@gmail.com> | 2008-05-27 12:30:45 -0700 |
---|---|---|
committer | Scott Chacon <schacon@gmail.com> | 2008-05-27 12:30:45 -0700 |
commit | 743ac297402ce8713d1c58db42c8a0540cb026a8 (patch) | |
tree | a0ef7cc04f57555e6c996056f313daf41d55a6a9 /lib/git/base.rb | |
parent | eac13c4070d7190472fa1e233a715bb6eb694552 (diff) | |
download | third_party-ruby-git-743ac297402ce8713d1c58db42c8a0540cb026a8.tar.gz third_party-ruby-git-743ac297402ce8713d1c58db42c8a0540cb026a8.tar.xz third_party-ruby-git-743ac297402ce8713d1c58db42c8a0540cb026a8.zip |
added apply and am functions and --until to logs
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r-- | lib/git/base.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb index 43a3c0d..6ce7efe 100644 --- a/lib/git/base.rb +++ b/lib/git/base.rb @@ -367,6 +367,17 @@ module Git self.lib.gc end + def apply(file) + if File.exists?(file) + self.lib.apply(file) + end + end + + def apply_mail(file) + if File.exists?(file) + self.lib.apply_mail(file) + end + end ## LOWER LEVEL INDEX OPERATIONS ## |