On 17 Oct 2007, at 6:21:30 AM, Nikolai Weibull wrote:I concede my calculation was crude. Interestingly, modifying my calculation to look for tabs at the beginning of the line gives a similar result: # calculates the extra space required to # use the given number of spaces/tab. size() { count=`grep -RIo "^\`printf \"\t\"\`" . | wc -l`; perl -e "print $count*$(($1-1))/1024/1024 . \" MiB\n\""; } size 8; => 49.7416791915894 MiB and for git: size 8; => 1.25082969665527 MiB Anyway, thanks for the neat script. mfwitten - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Gabriel C | Re: 2.6.22-rc4-mm1 |
| Linus Torvalds | Linux 2.6.27 |
| Ingo Molnar | Re: [PATCH 1/1] x86: fix text_poke |
git: | |
| Geert Uytterhoeven | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Jakub Narebski | Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle |
| Linus Torvalds | Comments on recursive merge.. |
| Abdelrazak Younes | Git-windows and git-svn? |
| David Miller | Re: [BUG] New Kernel Bugs |
| Matheos Worku | Re: NIU - Sun Neptune 10g - Transmit timed out reset (2.6.24) |
| Bernard Pidoux F6BVP | [AX25] kernel panic |
| Linus Torvalds | Re: [GIT]: Networking |
| Steve Shockley | Re: Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| L. V. Lammert | Re: About Xen: maybe a reiterative question but .. |
