git-shortlog: make common repository prefix configurable with .mailmap
authorJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 08:07:54 +0000 (00:07 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 08:07:54 +0000 (00:07 -0800)
commit7595e2ee6ef9b35ebc8dc45543723e1d89765ce3
tree2e4c146d59d73a22d0eef9453c9ddcdb0eeece87
parentc95044d4f3c98b52f16e32cfe09f3ff988a80d2a
git-shortlog: make common repository prefix configurable with .mailmap

The code had "/pub/scm/linux/kernel/git/" hardcoded which was
too specific to the kernel project.

With this, a line in the .mailmap file:

# repo-abbrev: /pub/scm/linux/kernel/git/

can be used to cause the substring to be abbreviated to /.../
on the title line of the commit message.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-shortlog.c
contrib/mailmap.linux