diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-05 20:54:29 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-06 00:50:29 +0100 |
commit | 4050c0df8ec7043315e2192695de432875239775 (patch) | |
tree | 36ea762082320aae037a95157c6c7f0ffc383046 /write-tree.c | |
parent | [PATCH] Document config.mak in INSTALL. (diff) | |
download | git-4050c0df8ec7043315e2192695de432875239775.tar.xz git-4050c0df8ec7043315e2192695de432875239775.zip |
Clean up compatibility definitions.
This attempts to clean up the way various compatibility
functions are defined and used.
- A new header file, git-compat-util.h, is introduced. This
looks at various NO_XXX and does necessary function name
replacements, equivalent of -Dstrcasestr=gitstrcasestr in the
Makefile.
- Those function name replacements are removed from the Makefile.
- Common features such as usage(), die(), xmalloc() are moved
from cache.h to git-compat-util.h; cache.h includes
git-compat-util.h itself.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'write-tree.c')
0 files changed, 0 insertions, 0 deletions