There's a new config field, 'merge_authors', which is a dictionary of
source name to target name. Whenever an author name matches a source
name it will be treated as if it was the target name instead.
Use this if authors have committed under multiple names, to squash their
statistics down to a single author. You can also use it to rename an
author for the purposes of the output.
Additionally, the -c option has been extended so for a dictionary option
you specify -c field=key,value. The key,value pair is then ADDED to the
dictionary.
Putting it all together in an example:
./gitstats -c merge_authors=bob,Bob\ Jones \
-c merge_authors=bob2,Bob\ Jones \
-c merge_authors=erica,Erica\ Smith ....
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
|
|
||
| 40 |
|
40 |
|
| 41 |
|
41 |
|
| 42 |
|
42 |
|
|
43 |
|
|
| 43 |
|
44 |
|
| 44 |
|
45 |
|
| 45 |
|
46 |
|
|
|
||
| 286 |
|
287 |
|
| 287 |
|
288 |
|
| 288 |
|
289 |
|
|
290 |
|
|
|
291 |
|
|
| 289 |
|
292 |
|
| 290 |
|
293 |
|
| 291 |
|
294 |
|
|
|
||
| 302 |
|
305 |
|
| 303 |
|
306 |
|
| 304 |
|
307 |
|
|
308 |
|
|
|
309 |
|
|
| 305 |
|
310 |
|
| 306 |
|
311 |
|
| 307 |
|
312 |
|
|
|
||
| 474 |
|
479 |
|
| 475 |
|
480 |
|
| 476 |
|
481 |
|
|
482 |
|
|
|
483 |
|
|
| 477 |
|
484 |
|
| 478 |
|
485 |
|
| 479 |
|
486 |
|
|
|
||
| 530 |
|
537 |
|
| 531 |
|
538 |
|
| 532 |
|
539 |
|
|
540 |
|
|
|
541 |
|
|
| 533 |
|
542 |
|
| 534 |
|
543 |
|
| 535 |
|
544 |
|
|
|
||
| 1344 |
|
1353 |
|
| 1345 |
|
1354 |
|
| 1346 |
|
1355 |
|
|
1356 |
|
|
|
1357 |
|
|
|
1358 |
|
|
| 1347 |
|
1359 |
|
| 1348 |
|
1360 |
|
| 1349 |
|
1361 |
|