summaryrefslogtreecommitdiffstats
path: root/lib/git/lib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/lib.rb')
-rw-r--r--lib/git/lib.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/git/lib.rb b/lib/git/lib.rb
index 93490db..3f97929 100644
--- a/lib/git/lib.rb
+++ b/lib/git/lib.rb
@@ -300,7 +300,9 @@ module Git
command('show-ref', ['--tags', '-s', tag_name])
end
-
+ def repack
+ command('repack', ['-a', '-d'])
+ end
private