summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-10-05 14:43:19 -0500
committerJesse Luehrs <doy@tozt.net>2009-10-05 14:43:19 -0500
commit8825f4d8894e7f9bbe6102a2a0e352464e7a44de (patch)
treeabcd142c8ea0fa3f56111ab4e81d69511be3cfd3 /bin
parent9ad40376962f2aaf94cf25c452bb7a740ab80413 (diff)
downloadconf-8825f4d8894e7f9bbe6102a2a0e352464e7a44de.tar.gz
conf-8825f4d8894e7f9bbe6102a2a0e352464e7a44de.zip
script to add up the working copy size of a repository
Diffstat (limited to 'bin')
-rwxr-xr-xbin/git-file-size3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/git-file-size b/bin/git-file-size
new file mode 100755
index 0000000..6178063
--- /dev/null
+++ b/bin/git-file-size
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+git ls-files | xargs du -b | sum