Random header image... Refresh for more!
opensuse 11.3
Visitors

free invisible counter
Partner sites
led-svetla.sk
---------------------------
multi.xeres.cz

git-logo
I was always curious how Linus when release new -rc also add nice percentage directory changes output.

Solution is very easy when you know git (and read manuals of course).


You can display per directory changes with following command (will use for kernel):

git diff --dirstat v2.6.33-rc8..HEAD

Command make dirstat between -rc8 version and actual version.

output:

4.4% arch/
7.8% drivers/firewire/
8.4% drivers/md/
4.4% drivers/net/wireless/
13.8% drivers/net/
10.5% drivers/usb/core/
3.6% drivers/usb/host/
3.0% drivers/usb/serial/
3.9% drivers/usb/
4.6% drivers/
8.1% fs/sysfs/
11.4% kernel/
3.3% net/ipv4/
4.6% net/

4.4% arch/

7.8% drivers/firewire/

8.4% drivers/md/

4.4% drivers/net/wireless/

13.8% drivers/net/

10.5% drivers/usb/core/

3.6% drivers/usb/host/

3.0% drivers/usb/serial/

3.9% drivers/usb/

4.6% drivers/

8.1% fs/sysfs/

11.4% kernel/

3.3% net/ipv4/

4.6% net/

Easy ;) Good luck,
Marek

Leave a Reply