diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/git/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb index c5fac45..2201eb5 100644 --- a/lib/git/base.rb +++ b/lib/git/base.rb @@ -130,7 +130,7 @@ module Git def repo_size size = 0 Dir.chdir(repo.path) do - (size, dot) = `du -d0`.chomp.split + (size, dot) = `du -s`.chomp.split end size.to_i end |