Re: Listing authors of each file in branch HEAD since given revision
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 29, 2008, 12:47 UTC
- Message-ID
- <alpine.DEB.1.00.0805291344400.13507@racer.site.net>
- In-Reply-To
- <c6c947f60805290143r731b4a80v8d8297124899be22@mail.gmail.com>
Hi,
On Thu, 29 May 2008, Alexander Gladysh wrote:
Show 8 quoted lines
> For each file in the head of my current branch I need to get a list of > all people who altered it since given revision. If file was not changed, > it should be not listed. > > Something like: > > my/file1.ext user1 user2 user3 > my/file2.ext user1
You will be able to do something like this easily from the output of
git log --pretty=format:%an --name-only HEAD
Probably just a Perl script which reads the author name, and then attaches that author name to all following file names until an empty lines occurs, recursively.
Hth, Dscho