Re: [PATCH 2/2] Add Author and Documentation sections to git-for-each-ref.txt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ah, gmail has cut out the CC list. Below is my reply to a previous
message by Will Palmer.

I think, it would be nice to have a tool, which output all the
different stats about the repo, maybe even in a gui. But it definitely
doesn't belong in the Git project.

--
Best regards,
Alexei Sholik

---------- Forwarded message ----------
From: Alexei Sholik <alcosholik@xxxxxxxxx>
Date: 17 March 2011 16:45
Subject: Re: [PATCH 2/2] Add Author and Documentation sections to
git-for-each-ref.txt
To: Will Palmer <wmpalmer@xxxxxxxxx>

On 17 March 2011 16:20, Will Palmer <wmpalmer@xxxxxxxxx> wrote:
> On Wed, 2011-03-09 at 14:14 +0200, Alexei Sholik wrote:
>> .................. Just ran this command
>>
>> git blame -p "$1" | awk '$1 ~ /author$/ { print substr($0,
>> length("author Â"), length($0)) }' | sort | uniq -c | sort -nr
>>
>> on the for-each-ref.c and saw that Junio had the first place by a
>> relatively large margin.
>>
>
> Wrap that up in a script and submit /that/ as a patch ;)
>
>

This script alone is not very useful. I was thinking about writing a
collection of scripts to gather different stats from the repository
history. However, it would be a different project altogether, not a
part of Git. The Future Git should be portable and shiny ;)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]