summaryrefslogtreecommitdiffstats
path: root/lib/git
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git')
-rw-r--r--lib/git/base.rb2
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