diff options
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 ## |