]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
builtins: Makefile clean-up
authorJunio C Hamano <junkio@cox.net>
Fri, 4 Aug 2006 08:51:04 +0000 (01:51 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 4 Aug 2006 08:51:04 +0000 (01:51 -0700)
commitf754fa9c5480c4556ad268fb5014c4b96cc7b9dc
tree775c1b3fd2ec3693db392866f7f857f42ca92c8f
parente414156ab6e7869b29622ee3439e3c91361f5b0e
builtins: Makefile clean-up

This cleans up the build procedure for built-in commands by:

 - generating mostly redundant definition of BUILT_INS from
   BUILTIN_OBJS in the Makefile,
 - renaming a few files to make the above possible, and
 - sorting the built-in command table in git.c.

It might be a good idea to binary search (or perfect hash) the built-in
command table, but that can be done later when somebody feels like.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
builtin-count-objects.c [moved from builtin-count.c with 100% similarity]
builtin.h
git.c
help.c [moved from builtin-help.c with 100% similarity]