Merge branch 'jk/mailmap-only-at-root'

The .mailmap is documented to be read only from the root level of a
working tree, but a stray file in a bare repository also was read
by accident, which has been corrected.

* jk/mailmap-only-at-root:
  mailmap: only look for .mailmap in work tree
This commit is contained in:
Junio C Hamano
2021-02-17 17:21:41 -08:00
3 changed files with 49 additions and 1 deletions

View File

@ -113,6 +113,10 @@ MAPPING AUTHORS
See linkgit:gitmailmap[5].
Note that if `git shortlog` is run outside of a repository (to process
log contents on standard input), it will look for a `.mailmap` file in
the current directory.
GIT
---
Part of the linkgit:git[1] suite