git shortlog -sne | cut -f2 | sort > .mailmap
Ameya Pandilwar <ameya@ccs.neu.edu>
Ameya Pandilwar <ameya@pandilwar.com>
AndrejGajdos <Andrej1>
Antoine Rey <antoine.rey@free.fr>
Antoine Rey <antoine.rey@gmail.com>
git log --no-merges --no-renames --numstat --pretty=format:"" -- *.java | cut -d$'\t' -f3 | grep -v '^$' | sort | uniq -c | sort
16 src/test/java/org/springframework/samples/petclinic/service/AbstractClinicServiceTests.java
18 src/main/java/org/springframework/samples/petclinic/repository/jdbc/JdbcVetRepositoryImpl.java
18 src/main/java/org/springframework/samples/petclinic/web/PetController.java
19 src/main/java/org/springframework/samples/petclinic/web/OwnerController.java
23 src/main/java/org/springframework/samples/petclinic/repository/jdbc/JdbcOwnerRepositoryImpl.java
git shortlog -ns -- **Owner**.java
45 michaelisvy
12 Antoine Rey
6 Keith Donald
2 Tomas Repel
1 Colin But
e. g. "todos" and "fixmes"
git grep --perl-regexp "\/\/ *(todo|fixme)"
e. g. commented code
git grep --perl-regexp " \/\/.*(=|;)" -- *.java
git log --pretty=format:"%h %s"
0c24083 removed appserver-specific files
feca50d added jQueryUI
95cb32d used tag c:out for EL to prevent HTML injection
d88b565 migrated all dates to joda time
c4b5a98 navbar, reorganized JSP folders
find . -type d -name ".git" -prune -o -type f \( -iname "*.java" \) | xargs -n1 git blame -w -f -C -M --date=format:"|" | cut -d"|" -f 1 | cut -d"(" -f 2 | sed 's/\s*$//' | sort | uniq -c | sort
152 Gordon Dickens
364 Antoine Rey
418 Colin But
1226 Costin Leau
1718 michaelisvy