Don't force everybody to call setup_ident().
authorJunio C Hamano <junkio@cox.net>
Sun, 28 Jan 2007 08:50:53 +0000 (00:50 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 28 Jan 2007 09:58:50 +0000 (01:58 -0800)
commit01754769ab9bf9ff2fe2b12590e7ee2c7c3448ca
treee98e8d08196d2bbc2a2326c1d439f17f301e9d4c
parent903b45fe1808f72e712a118bf115b9dc07d02420
Don't force everybody to call setup_ident().

Back when only handful commands that created commit and tag were
the only users of committer identity information, it made sense
to explicitly call setup_ident() to pre-fill the default value
from the gecos information.  But it is much simpler for programs
to make the call automatic when get_ident() is called these days,
since many more programs want to use the information when updating
the reflog.

Signed-off-by: Junio C Hamano <junkio@cox.net>
13 files changed:
builtin-branch.c
builtin-commit-tree.c
builtin-log.c
builtin-update-ref.c
cache.h
fetch-pack.c
http-fetch.c
http-push.c
ident.c
local-fetch.c
receive-pack.c
ssh-fetch.c
var.c