author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Wed, 1 Sep 2010 15:45:00 +0000 (15:45 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:09:14 +0000 (07:09 +0000) | ||
commit | b002c656fa5221b999ca7b01c946b738644e9739 | |
tree | acdbf11819a2231914bc28e10a2bd7d94cacafa7 | tree | snapshot |
parent | c8415cda0d1e2b3b27f0668f12a01ba49906adae | commit | diff |
builtin: use builtin.h for all builtin commands
Change the builtin/*.c files and wt-status.c files which weren't using
builtin.h to use it, also remove any git-compat-util.h, strbuf.h and
cache.h from those files. We can trust on builtin.h including them.
builtin.h also includes commit.h and notes.h. But I haven't removed
these includes. They're redundant now, but we may want to remove them
from builtin.h in the future.
This impeded my efforts to gettextize git, since I'd otherwise have to
add gettext.h to all of these. Using builtin.h is a good idea in any
case, since it's defining the prototypes for the cmd_* functions that
these files define.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Change the builtin/*.c files and wt-status.c files which weren't using
builtin.h to use it, also remove any git-compat-util.h, strbuf.h and
cache.h from those files. We can trust on builtin.h including them.
builtin.h also includes commit.h and notes.h. But I haven't removed
these includes. They're redundant now, but we may want to remove them
from builtin.h in the future.
This impeded my efforts to gettextize git, since I'd otherwise have to
add gettext.h to all of these. Using builtin.h is a good idea in any
case, since it's defining the prototypes for the cmd_* functions that
these files define.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
18 files changed: