move git_default_* variables to ident.c
commit2d4b4fcebdd4fb8c8cd2664b390e3bbb82370155
authorJeff King <peff@peff.net>
Mon, 21 May 2012 23:09:57 +0000 (21 19:09 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 May 2012 16:07:53 +0000 (22 09:07 -0700)
treeb0114961bbebbe74b99d67f9672348dcba5fc871
parent9597921b6c173d90359e2cfa4c2e36de8d1554e6
move git_default_* variables to ident.c

There's no reason anybody outside of ident.c should access
these directly (they should use the new accessors which make
sure the variables are initialized), so we can make them
file-scope statics.

While we're at it, move user_ident_explicitly_given into
ident.c; while still globally visible, it makes more sense
to reside with the ident code.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
environment.c
ident.c