﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Marcin Floryan commented on Extracting a list of committers from Git</title><description>Nice one, but how about streaming from a file? You'd be better off not having to read the whole file into memory which is precisely what LINQ allows you to do.
  
  
    public IEnumerator
&lt;string GetEnumerator()
  
        {
  
            using (TextReader reader = dataSource())
  
            {
  
                string line;
  
                while ((line = reader.ReadLine()) != null)
  
                {
  
                    yield return line;
  
                }
  
            }
  
        }
&gt;</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment10</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment10</guid><pubDate>Mon, 14 Jun 2010 14:13:40 GMT</pubDate></item><item><title>Martin Larsen commented on Extracting a list of committers from Git</title><description>Ah... Cosmin 0wns us all. :-)
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment9</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment9</guid><pubDate>Wed, 02 Jun 2010 05:47:54 GMT</pubDate></item><item><title>Johannes Rudolph commented on Extracting a list of committers from Git</title><description>That's why I couldn't live without linqPad anymore!
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment8</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment8</guid><pubDate>Tue, 01 Jun 2010 22:20:03 GMT</pubDate></item><item><title>Tobin Harris commented on Extracting a list of committers from Git</title><description>That's a neat query. I think it's neater than my Ruby hacking: 
[http://gist.github.com/396634](http://gist.github.com/396634)</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment7</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment7</guid><pubDate>Tue, 01 Jun 2010 21:17:53 GMT</pubDate></item><item><title>Ayende Rahien commented on Extracting a list of committers from Git</title><description>Just one problem with all of the things that were suggested.
  
They requires me to THINK about those.
  
My solution was coded under heavy time pressure and I just needed the answers.
  
Going with the route of least resistance was the easiest and faster way to get things done.
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment6</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment6</guid><pubDate>Tue, 01 Jun 2010 18:59:29 GMT</pubDate></item><item><title>Chris commented on Extracting a list of committers from Git</title><description>+1 Larsen's solution
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment5</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment5</guid><pubDate>Tue, 01 Jun 2010 18:13:20 GMT</pubDate></item><item><title>Cosmin Stejerean commented on Extracting a list of committers from Git</title><description>git shortlog -s
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment4</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment4</guid><pubDate>Tue, 01 Jun 2010 15:49:24 GMT</pubDate></item><item><title>Frank Quednau commented on Extracting a list of committers from Git</title><description>For completeness a powershell version that uses what is contained in the &lt; and &gt;:
  
  
git log --raw | Select-String -Pattern "^Author.*&lt;(.*)&gt;" | % { $_.Matches[
  
0].Groups[1].Value } | Group-Object | select count, name
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment3</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment3</guid><pubDate>Tue, 01 Jun 2010 12:02:54 GMT</pubDate></item><item><title>Masklinn commented on Extracting a list of committers from Git</title><description>&gt; There doesn’t seem to be a nice way to getting stats like “who are the committers in this project” from Git.
  
  
The gitstat tool from the internets looks nice, considering git apparently doesn't have the equivalent of hg churn.
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment2</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment2</guid><pubDate>Tue, 01 Jun 2010 10:44:13 GMT</pubDate></item><item><title>Martin Larsen commented on Extracting a list of committers from Git</title><description>git log --raw | grep "^Author: " | sort | uniq -c
</description><link>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment1</link><guid>http://ayende.com/4532/extracting-a-list-of-committers-from-git#comment1</guid><pubDate>Tue, 01 Jun 2010 10:29:27 GMT</pubDate></item></channel></rss>