Remove pointless calls to access(2) when checking for .mailmap
commite44b5d106c2934b93cfba2ea7fb2ed1e32edaae2
authorAlex Riesen <raa.lkml@gmail.com>
Mon, 30 Apr 2007 22:27:05 +0000 (1 00:27 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 30 Apr 2007 23:57:52 +0000 (30 16:57 -0700)
tree48e3f8ed4347741b6f9644b23ada1ec9bda77364
parent8503ee4394dd47af136019bd8da53e5adec17e5d
Remove pointless calls to access(2) when checking for .mailmap

read_mailmap already returns not 0 in case of error, and nothing
seem to be interested in it. It also is silent about the fact
(read_mailmap being to chatty would justify the call to access,
but there is no point for it to be and it isn't).

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-blame.c
builtin-shortlog.c