git-var: constness and globalness cleanup.
commitc7d77dab9333112cfce8cce51e56005b5e8b4076
authorJunio C Hamano <junkio@cox.net>
Tue, 22 Nov 2005 07:44:35 +0000 (21 23:44 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 22 Nov 2005 07:44:35 +0000 (21 23:44 -0800)
tree5bc7f67c535dbbbb9340285c82226a8dd6e4afec
parent9ce392f4826558357af2b2c7eb6ad876fdb53a91
git-var: constness and globalness cleanup.

var.c::git_var read function did not have to return writable
strings; make it and the functions it points at return const char *
instead.

ident.c::get_ident() did not need to be global, so make it
static.

Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
ident.c
var.c