diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-22 08:42:18 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-22 14:29:41 -0800 |
commit | 81b50f3ce40bfdd66e5d967bf82be001039a9a98 (patch) | |
tree | 7e86bb81e83c9fad73dcbdaa0ef33038137b4274 | |
parent | 241b9254e1c8ff071d8054f8b6fbe1883b389d69 (diff) | |
download | git-81b50f3ce40bfdd66e5d967bf82be001039a9a98.tar.gz |
Move 'builtin-*' into a 'builtin/' subdirectory
This shrinks the top-level directory a bit, and makes it much more
pleasant to use auto-completion on the thing. Instead of
[torvalds@nehalem git]$ em buil<tab>
Display all 180 possibilities? (y or n)
[torvalds@nehalem git]$ em builtin-sh
builtin-shortlog.c builtin-show-branch.c builtin-show-ref.c
builtin-shortlog.o builtin-show-branch.o builtin-show-ref.o
[torvalds@nehalem git]$ em builtin-shor<tab>
builtin-shortlog.c builtin-shortlog.o
[torvalds@nehalem git]$ em builtin-shortlog.c
you get
[torvalds@nehalem git]$ em buil<tab> [type]
builtin/ builtin.h
[torvalds@nehalem git]$ em builtin [auto-completes to]
[torvalds@nehalem git]$ em builtin/sh<tab> [type]
shortlog.c shortlog.o show-branch.c show-branch.o show-ref.c show-ref.o
[torvalds@nehalem git]$ em builtin/sho [auto-completes to]
[torvalds@nehalem git]$ em builtin/shor<tab> [type]
shortlog.c shortlog.o
[torvalds@nehalem git]$ em builtin/shortlog.c
which doesn't seem all that different, but not having that annoying
break in "Display all 180 possibilities?" is quite a relief.
NOTE! If you do this in a clean tree (no object files etc), or using an
editor that has auto-completion rules that ignores '*.o' files, you
won't see that annoying 'Display all 180 possibilities?' message - it
will just show the choices instead. I think bash has some cut-off
around 100 choices or something.
So the reason I see this is that I'm using an odd editory, and thus
don't have the rules to cut down on auto-completion. But you can
simulate that by using 'ls' instead, or something similar.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Makefile | 194 | ||||
-rw-r--r-- | builtin/add.c (renamed from builtin-add.c) | 0 | ||||
-rw-r--r-- | builtin/annotate.c (renamed from builtin-annotate.c) | 0 | ||||
-rw-r--r-- | builtin/apply.c (renamed from builtin-apply.c) | 0 | ||||
-rw-r--r-- | builtin/archive.c (renamed from builtin-archive.c) | 0 | ||||
-rw-r--r-- | builtin/bisect--helper.c (renamed from builtin-bisect--helper.c) | 0 | ||||
-rw-r--r-- | builtin/blame.c (renamed from builtin-blame.c) | 0 | ||||
-rw-r--r-- | builtin/branch.c (renamed from builtin-branch.c) | 0 | ||||
-rw-r--r-- | builtin/bundle.c (renamed from builtin-bundle.c) | 0 | ||||
-rw-r--r-- | builtin/cat-file.c (renamed from builtin-cat-file.c) | 0 | ||||
-rw-r--r-- | builtin/check-attr.c (renamed from builtin-check-attr.c) | 0 | ||||
-rw-r--r-- | builtin/check-ref-format.c (renamed from builtin-check-ref-format.c) | 0 | ||||
-rw-r--r-- | builtin/checkout-index.c (renamed from builtin-checkout-index.c) | 0 | ||||
-rw-r--r-- | builtin/checkout.c (renamed from builtin-checkout.c) | 0 | ||||
-rw-r--r-- | builtin/clean.c (renamed from builtin-clean.c) | 0 | ||||
-rw-r--r-- | builtin/clone.c (renamed from builtin-clone.c) | 0 | ||||
-rw-r--r-- | builtin/commit-tree.c (renamed from builtin-commit-tree.c) | 0 | ||||
-rw-r--r-- | builtin/commit.c (renamed from builtin-commit.c) | 0 | ||||
-rw-r--r-- | builtin/config.c (renamed from builtin-config.c) | 0 | ||||
-rw-r--r-- | builtin/count-objects.c (renamed from builtin-count-objects.c) | 0 | ||||
-rw-r--r-- | builtin/describe.c (renamed from builtin-describe.c) | 0 | ||||
-rw-r--r-- | builtin/diff-files.c (renamed from builtin-diff-files.c) | 0 | ||||
-rw-r--r-- | builtin/diff-index.c (renamed from builtin-diff-index.c) | 0 | ||||
-rw-r--r-- | builtin/diff-tree.c (renamed from builtin-diff-tree.c) | 0 | ||||
-rw-r--r-- | builtin/diff.c (renamed from builtin-diff.c) | 0 | ||||
-rw-r--r-- | builtin/fast-export.c (renamed from builtin-fast-export.c) | 0 | ||||
-rw-r--r-- | builtin/fetch-pack.c (renamed from builtin-fetch-pack.c) | 0 | ||||
-rw-r--r-- | builtin/fetch.c (renamed from builtin-fetch.c) | 0 | ||||
-rw-r--r-- | builtin/fmt-merge-msg.c (renamed from builtin-fmt-merge-msg.c) | 0 | ||||
-rw-r--r-- | builtin/for-each-ref.c (renamed from builtin-for-each-ref.c) | 0 | ||||
-rw-r--r-- | builtin/fsck.c (renamed from builtin-fsck.c) | 0 | ||||
-rw-r--r-- | builtin/gc.c (renamed from builtin-gc.c) | 0 | ||||
-rw-r--r-- | builtin/grep.c (renamed from builtin-grep.c) | 0 | ||||
-rw-r--r-- | builtin/hash-object.c (renamed from builtin-hash-object.c) | 0 | ||||
-rw-r--r-- | builtin/help.c (renamed from builtin-help.c) | 0 | ||||
-rw-r--r-- | builtin/index-pack.c (renamed from builtin-index-pack.c) | 0 | ||||
-rw-r--r-- | builtin/init-db.c (renamed from builtin-init-db.c) | 0 | ||||
-rw-r--r-- | builtin/log.c (renamed from builtin-log.c) | 0 | ||||
-rw-r--r-- | builtin/ls-files.c (renamed from builtin-ls-files.c) | 0 | ||||
-rw-r--r-- | builtin/ls-remote.c (renamed from builtin-ls-remote.c) | 0 | ||||
-rw-r--r-- | builtin/ls-tree.c (renamed from builtin-ls-tree.c) | 0 | ||||
-rw-r--r-- | builtin/mailinfo.c (renamed from builtin-mailinfo.c) | 0 | ||||
-rw-r--r-- | builtin/mailsplit.c (renamed from builtin-mailsplit.c) | 0 | ||||
-rw-r--r-- | builtin/merge-base.c (renamed from builtin-merge-base.c) | 0 | ||||
-rw-r--r-- | builtin/merge-file.c (renamed from builtin-merge-file.c) | 0 | ||||
-rw-r--r-- | builtin/merge-index.c (renamed from builtin-merge-index.c) | 0 | ||||
-rw-r--r-- | builtin/merge-ours.c (renamed from builtin-merge-ours.c) | 0 | ||||
-rw-r--r-- | builtin/merge-recursive.c (renamed from builtin-merge-recursive.c) | 0 | ||||
-rw-r--r-- | builtin/merge-tree.c (renamed from builtin-merge-tree.c) | 0 | ||||
-rw-r--r-- | builtin/merge.c (renamed from builtin-merge.c) | 0 | ||||
-rw-r--r-- | builtin/mktag.c (renamed from builtin-mktag.c) | 0 | ||||
-rw-r--r-- | builtin/mktree.c (renamed from builtin-mktree.c) | 0 | ||||
-rw-r--r-- | builtin/mv.c (renamed from builtin-mv.c) | 0 | ||||
-rw-r--r-- | builtin/name-rev.c (renamed from builtin-name-rev.c) | 0 | ||||
-rw-r--r-- | builtin/pack-objects.c (renamed from builtin-pack-objects.c) | 0 | ||||
-rw-r--r-- | builtin/pack-redundant.c (renamed from builtin-pack-redundant.c) | 0 | ||||
-rw-r--r-- | builtin/pack-refs.c (renamed from builtin-pack-refs.c) | 0 | ||||
-rw-r--r-- | builtin/patch-id.c (renamed from builtin-patch-id.c) | 0 | ||||
-rw-r--r-- | builtin/prune-packed.c (renamed from builtin-prune-packed.c) | 0 | ||||
-rw-r--r-- | builtin/prune.c (renamed from builtin-prune.c) | 0 | ||||
-rw-r--r-- | builtin/push.c (renamed from builtin-push.c) | 0 | ||||
-rw-r--r-- | builtin/read-tree.c (renamed from builtin-read-tree.c) | 0 | ||||
-rw-r--r-- | builtin/receive-pack.c (renamed from builtin-receive-pack.c) | 0 | ||||
-rw-r--r-- | builtin/reflog.c (renamed from builtin-reflog.c) | 0 | ||||
-rw-r--r-- | builtin/remote.c (renamed from builtin-remote.c) | 0 | ||||
-rw-r--r-- | builtin/replace.c (renamed from builtin-replace.c) | 0 | ||||
-rw-r--r-- | builtin/rerere.c (renamed from builtin-rerere.c) | 0 | ||||
-rw-r--r-- | builtin/reset.c (renamed from builtin-reset.c) | 0 | ||||
-rw-r--r-- | builtin/rev-list.c (renamed from builtin-rev-list.c) | 0 | ||||
-rw-r--r-- | builtin/rev-parse.c (renamed from builtin-rev-parse.c) | 0 | ||||
-rw-r--r-- | builtin/revert.c (renamed from builtin-revert.c) | 0 | ||||
-rw-r--r-- | builtin/rm.c (renamed from builtin-rm.c) | 0 | ||||
-rw-r--r-- | builtin/send-pack.c (renamed from builtin-send-pack.c) | 0 | ||||
-rw-r--r-- | builtin/shortlog.c (renamed from builtin-shortlog.c) | 0 | ||||
-rw-r--r-- | builtin/show-branch.c (renamed from builtin-show-branch.c) | 0 | ||||
-rw-r--r-- | builtin/show-ref.c (renamed from builtin-show-ref.c) | 0 | ||||
-rw-r--r-- | builtin/stripspace.c (renamed from builtin-stripspace.c) | 0 | ||||
-rw-r--r-- | builtin/symbolic-ref.c (renamed from builtin-symbolic-ref.c) | 0 | ||||
-rw-r--r-- | builtin/tag.c (renamed from builtin-tag.c) | 0 | ||||
-rw-r--r-- | builtin/tar-tree.c (renamed from builtin-tar-tree.c) | 0 | ||||
-rw-r--r-- | builtin/unpack-file.c (renamed from builtin-unpack-file.c) | 0 | ||||
-rw-r--r-- | builtin/unpack-objects.c (renamed from builtin-unpack-objects.c) | 0 | ||||
-rw-r--r-- | builtin/update-index.c (renamed from builtin-update-index.c) | 0 | ||||
-rw-r--r-- | builtin/update-ref.c (renamed from builtin-update-ref.c) | 0 | ||||
-rw-r--r-- | builtin/update-server-info.c (renamed from builtin-update-server-info.c) | 0 | ||||
-rw-r--r-- | builtin/upload-archive.c (renamed from builtin-upload-archive.c) | 0 | ||||
-rw-r--r-- | builtin/var.c (renamed from builtin-var.c) | 0 | ||||
-rw-r--r-- | builtin/verify-pack.c (renamed from builtin-verify-pack.c) | 0 | ||||
-rw-r--r-- | builtin/verify-tag.c (renamed from builtin-verify-tag.c) | 0 | ||||
-rw-r--r-- | builtin/write-tree.c (renamed from builtin-write-tree.c) | 0 |
90 files changed, 97 insertions, 97 deletions
@@ -301,7 +301,7 @@ SPARSE_FLAGS = -D__BIG_ENDIAN__ -D__powerpc__ # Those must not be GNU-specific; they are shared with perl/ which may # be built by a different compiler. (Note that this is an artifact now # but it still might be nice to keep that distinction.) -BASIC_CFLAGS = +BASIC_CFLAGS = -I. BASIC_LDFLAGS = # Guard against environment variables @@ -370,8 +370,8 @@ PROGRAMS += git-upload-pack$X PROGRAMS += git-http-backend$X # List built-in command $C whose implementation cmd_$C() is not in -# builtin-$C.o but is linked in as part of some other command. -BUILT_INS += $(patsubst builtin-%.o,git-%$X,$(BUILTIN_OBJS)) +# builtin/$C.o but is linked in as part of some other command. +BUILT_INS += $(patsubst builtin/%.o,git-%$X,$(BUILTIN_OBJS)) BUILT_INS += git-cherry$X BUILT_INS += git-cherry-pick$X @@ -594,95 +594,95 @@ LIB_OBJS += ws.o LIB_OBJS += wt-status.o LIB_OBJS += xdiff-interface.o -BUILTIN_OBJS += builtin-add.o -BUILTIN_OBJS += builtin-annotate.o -BUILTIN_OBJS += builtin-apply.o -BUILTIN_OBJS += builtin-archive.o -BUILTIN_OBJS += builtin-bisect--helper.o -BUILTIN_OBJS += builtin-blame.o -BUILTIN_OBJS += builtin-branch.o -BUILTIN_OBJS += builtin-bundle.o -BUILTIN_OBJS += builtin-cat-file.o -BUILTIN_OBJS += builtin-check-attr.o -BUILTIN_OBJS += builtin-check-ref-format.o -BUILTIN_OBJS += builtin-checkout-index.o -BUILTIN_OBJS += builtin-checkout.o -BUILTIN_OBJS += builtin-clean.o -BUILTIN_OBJS += builtin-clone.o -BUILTIN_OBJS += builtin-commit-tree.o -BUILTIN_OBJS += builtin-commit.o -BUILTIN_OBJS += builtin-config.o -BUILTIN_OBJS += builtin-count-objects.o -BUILTIN_OBJS += builtin-describe.o -BUILTIN_OBJS += builtin-diff-files.o -BUILTIN_OBJS += builtin-diff-index.o -BUILTIN_OBJS += builtin-diff-tree.o -BUILTIN_OBJS += builtin-diff.o -BUILTIN_OBJS += builtin-fast-export.o -BUILTIN_OBJS += builtin-fetch-pack.o -BUILTIN_OBJS += builtin-fetch.o -BUILTIN_OBJS += builtin-fmt-merge-msg.o -BUILTIN_OBJS += builtin-for-each-ref.o -BUILTIN_OBJS += builtin-fsck.o -BUILTIN_OBJS += builtin-gc.o -BUILTIN_OBJS += builtin-grep.o -BUILTIN_OBJS += builtin-hash-object.o -BUILTIN_OBJS += builtin-help.o -BUILTIN_OBJS += builtin-index-pack.o -BUILTIN_OBJS += builtin-init-db.o -BUILTIN_OBJS += builtin-log.o -BUILTIN_OBJS += builtin-ls-files.o -BUILTIN_OBJS += builtin-ls-remote.o -BUILTIN_OBJS += builtin-ls-tree.o -BUILTIN_OBJS += builtin-mailinfo.o -BUILTIN_OBJS += builtin-mailsplit.o -BUILTIN_OBJS += builtin-merge.o -BUILTIN_OBJS += builtin-merge-base.o -BUILTIN_OBJS += builtin-merge-file.o -BUILTIN_OBJS += builtin-merge-index.o -BUILTIN_OBJS += builtin-merge-ours.o -BUILTIN_OBJS += builtin-merge-recursive.o -BUILTIN_OBJS += builtin-merge-tree.o -BUILTIN_OBJS += builtin-mktag.o -BUILTIN_OBJS += builtin-mktree.o -BUILTIN_OBJS += builtin-mv.o -BUILTIN_OBJS += builtin-name-rev.o -BUILTIN_OBJS += builtin-pack-objects.o -BUILTIN_OBJS += builtin-pack-redundant.o -BUILTIN_OBJS += builtin-pack-refs.o -BUILTIN_OBJS += builtin-patch-id.o -BUILTIN_OBJS += builtin-prune-packed.o -BUILTIN_OBJS += builtin-prune.o -BUILTIN_OBJS += builtin-push.o -BUILTIN_OBJS += builtin-read-tree.o -BUILTIN_OBJS += builtin-receive-pack.o -BUILTIN_OBJS += builtin-reflog.o -BUILTIN_OBJS += builtin-remote.o -BUILTIN_OBJS += builtin-replace.o -BUILTIN_OBJS += builtin-rerere.o -BUILTIN_OBJS += builtin-reset.o -BUILTIN_OBJS += builtin-rev-list.o -BUILTIN_OBJS += builtin-rev-parse.o -BUILTIN_OBJS += builtin-revert.o -BUILTIN_OBJS += builtin-rm.o -BUILTIN_OBJS += builtin-send-pack.o -BUILTIN_OBJS += builtin-shortlog.o -BUILTIN_OBJS += builtin-show-branch.o -BUILTIN_OBJS += builtin-show-ref.o -BUILTIN_OBJS += builtin-stripspace.o -BUILTIN_OBJS += builtin-symbolic-ref.o -BUILTIN_OBJS += builtin-tag.o -BUILTIN_OBJS += builtin-tar-tree.o -BUILTIN_OBJS += builtin-unpack-file.o -BUILTIN_OBJS += builtin-unpack-objects.o -BUILTIN_OBJS += builtin-update-index.o -BUILTIN_OBJS += builtin-update-ref.o -BUILTIN_OBJS += builtin-update-server-info.o -BUILTIN_OBJS += builtin-upload-archive.o -BUILTIN_OBJS += builtin-var.o -BUILTIN_OBJS += builtin-verify-pack.o -BUILTIN_OBJS += builtin-verify-tag.o -BUILTIN_OBJS += builtin-write-tree.o +BUILTIN_OBJS += builtin/add.o +BUILTIN_OBJS += builtin/annotate.o +BUILTIN_OBJS += builtin/apply.o +BUILTIN_OBJS += builtin/archive.o +BUILTIN_OBJS += builtin/bisect--helper.o +BUILTIN_OBJS += builtin/blame.o +BUILTIN_OBJS += builtin/branch.o +BUILTIN_OBJS += builtin/bundle.o +BUILTIN_OBJS += builtin/cat-file.o +BUILTIN_OBJS += builtin/check-attr.o +BUILTIN_OBJS += builtin/check-ref-format.o +BUILTIN_OBJS += builtin/checkout-index.o +BUILTIN_OBJS += builtin/checkout.o +BUILTIN_OBJS += builtin/clean.o +BUILTIN_OBJS += builtin/clone.o +BUILTIN_OBJS += builtin/commit-tree.o +BUILTIN_OBJS += builtin/commit.o +BUILTIN_OBJS += builtin/config.o +BUILTIN_OBJS += builtin/count-objects.o +BUILTIN_OBJS += builtin/describe.o +BUILTIN_OBJS += builtin/diff-files.o +BUILTIN_OBJS += builtin/diff-index.o +BUILTIN_OBJS += builtin/diff-tree.o +BUILTIN_OBJS += builtin/diff.o +BUILTIN_OBJS += builtin/fast-export.o +BUILTIN_OBJS += builtin/fetch-pack.o +BUILTIN_OBJS += builtin/fetch.o +BUILTIN_OBJS += builtin/fmt-merge-msg.o +BUILTIN_OBJS += builtin/for-each-ref.o +BUILTIN_OBJS += builtin/fsck.o +BUILTIN_OBJS += builtin/gc.o +BUILTIN_OBJS += builtin/grep.o +BUILTIN_OBJS += builtin/hash-object.o +BUILTIN_OBJS += builtin/help.o +BUILTIN_OBJS += builtin/index-pack.o +BUILTIN_OBJS += builtin/init-db.o +BUILTIN_OBJS += builtin/log.o +BUILTIN_OBJS += builtin/ls-files.o +BUILTIN_OBJS += builtin/ls-remote.o +BUILTIN_OBJS += builtin/ls-tree.o +BUILTIN_OBJS += builtin/mailinfo.o +BUILTIN_OBJS += builtin/mailsplit.o +BUILTIN_OBJS += builtin/merge.o +BUILTIN_OBJS += builtin/merge-base.o +BUILTIN_OBJS += builtin/merge-file.o +BUILTIN_OBJS += builtin/merge-index.o +BUILTIN_OBJS += builtin/merge-ours.o +BUILTIN_OBJS += builtin/merge-recursive.o +BUILTIN_OBJS += builtin/merge-tree.o +BUILTIN_OBJS += builtin/mktag.o +BUILTIN_OBJS += builtin/mktree.o +BUILTIN_OBJS += builtin/mv.o +BUILTIN_OBJS += builtin/name-rev.o +BUILTIN_OBJS += builtin/pack-objects.o +BUILTIN_OBJS += builtin/pack-redundant.o +BUILTIN_OBJS += builtin/pack-refs.o +BUILTIN_OBJS += builtin/patch-id.o +BUILTIN_OBJS += builtin/prune-packed.o +BUILTIN_OBJS += builtin/prune.o +BUILTIN_OBJS += builtin/push.o +BUILTIN_OBJS += builtin/read-tree.o +BUILTIN_OBJS += builtin/receive-pack.o +BUILTIN_OBJS += builtin/reflog.o +BUILTIN_OBJS += builtin/remote.o +BUILTIN_OBJS += builtin/replace.o +BUILTIN_OBJS += builtin/rerere.o +BUILTIN_OBJS += builtin/reset.o +BUILTIN_OBJS += builtin/rev-list.o +BUILTIN_OBJS += builtin/rev-parse.o +BUILTIN_OBJS += builtin/revert.o +BUILTIN_OBJS += builtin/rm.o +BUILTIN_OBJS += builtin/send-pack.o +BUILTIN_OBJS += builtin/shortlog.o +BUILTIN_OBJS += builtin/show-branch.o +BUILTIN_OBJS += builtin/show-ref.o +BUILTIN_OBJS += builtin/stripspace.o +BUILTIN_OBJS += builtin/symbolic-ref.o +BUILTIN_OBJS += builtin/tag.o +BUILTIN_OBJS += builtin/tar-tree.o +BUILTIN_OBJS += builtin/unpack-file.o +BUILTIN_OBJS += builtin/unpack-objects.o +BUILTIN_OBJS += builtin/update-index.o +BUILTIN_OBJS += builtin/update-ref.o +BUILTIN_OBJS += builtin/update-server-info.o +BUILTIN_OBJS += builtin/upload-archive.o +BUILTIN_OBJS += builtin/var.o +BUILTIN_OBJS += builtin/verify-pack.o +BUILTIN_OBJS += builtin/verify-tag.o +BUILTIN_OBJS += builtin/write-tree.o GITLIBS = $(LIB_FILE) $(XDIFF_LIB) EXTLIBS = @@ -1447,8 +1447,8 @@ git$X: git.o $(BUILTIN_OBJS) $(GITLIBS) $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ git.o \ $(BUILTIN_OBJS) $(ALL_LDFLAGS) $(LIBS) -builtin-help.o: common-cmds.h -builtin-help.s builtin-help.o: ALL_CFLAGS += \ +builtin/help.o: common-cmds.h +builtin/help.s builtin/help.o: ALL_CFLAGS += \ '-DGIT_HTML_PATH="$(htmldir_SQ)"' \ '-DGIT_MAN_PATH="$(mandir_SQ)"' \ '-DGIT_INFO_PATH="$(infodir_SQ)"' @@ -1604,7 +1604,7 @@ exec_cmd.s exec_cmd.o: ALL_CFLAGS += \ '-DBINDIR="$(bindir_relative_SQ)"' \ '-DPREFIX="$(prefix_SQ)"' -builtin-init-db.s builtin-init-db.o: ALL_CFLAGS += \ +builtin/init-db.s builtin/init-db.o: ALL_CFLAGS += \ -DDEFAULT_GIT_TEMPLATE_DIR='"$(template_dir_SQ)"' config.s config.o: ALL_CFLAGS += -DETC_GITCONFIG='"$(ETC_GITCONFIG_SQ)"' @@ -1646,7 +1646,7 @@ $(REMOTE_CURL_PRIMARY): remote-curl.o http.o http-walker.o $(GITLIBS) $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H) $(patsubst git-%$X,%.o,$(PROGRAMS)) git.o: $(LIB_H) $(wildcard */*.h) -builtin-revert.o wt-status.o: wt-status.h +builtin/revert.o wt-status.o: wt-status.h $(LIB_FILE): $(LIB_OBJS) $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIB_OBJS) @@ -1934,7 +1934,7 @@ distclean: clean clean: $(RM) *.o block-sha1/*.o ppc/*.o compat/*.o compat/*/*.o xdiff/*.o \ - $(LIB_FILE) $(XDIFF_LIB) + builtin/*.o $(LIB_FILE) $(XDIFF_LIB) $(RM) $(ALL_PROGRAMS) $(SCRIPT_LIB) $(BUILT_INS) git$X $(RM) $(TEST_PROGRAMS) $(RM) -r bin-wrappers diff --git a/builtin-add.c b/builtin/add.c index 2705f8d057..2705f8d057 100644 --- a/builtin-add.c +++ b/builtin/add.c diff --git a/builtin-annotate.c b/builtin/annotate.c index fc43eed36b..fc43eed36b 100644 --- a/builtin-annotate.c +++ b/builtin/annotate.c diff --git a/builtin-apply.c b/builtin/apply.c index 3af4ae0c26..3af4ae0c26 100644 --- a/builtin-apply.c +++ b/builtin/apply.c diff --git a/builtin-archive.c b/builtin/archive.c index 6a887f5a9d..6a887f5a9d 100644 --- a/builtin-archive.c +++ b/builtin/archive.c diff --git a/builtin-bisect--helper.c b/builtin/bisect--helper.c index 5b226399e1..5b226399e1 100644 --- a/builtin-bisect--helper.c +++ b/builtin/bisect--helper.c diff --git a/builtin-blame.c b/builtin/blame.c index 10f7eacf6e..10f7eacf6e 100644 --- a/builtin-blame.c +++ b/builtin/blame.c diff --git a/builtin-branch.c b/builtin/branch.c index a28a13986d..a28a13986d 100644 --- a/builtin-branch.c +++ b/builtin/branch.c diff --git a/builtin-bundle.c b/builtin/bundle.c index 2006cc5cd5..2006cc5cd5 100644 --- a/builtin-bundle.c +++ b/builtin/bundle.c diff --git a/builtin-cat-file.c b/builtin/cat-file.c index a933eaa043..a933eaa043 100644 --- a/builtin-cat-file.c +++ b/builtin/cat-file.c diff --git a/builtin-check-attr.c b/builtin/check-attr.c index 3016d29caa..3016d29caa 100644 --- a/builtin-check-attr.c +++ b/builtin/check-attr.c diff --git a/builtin-check-ref-format.c b/builtin/check-ref-format.c index b106c65d80..b106c65d80 100644 --- a/builtin-check-ref-format.c +++ b/builtin/check-ref-format.c diff --git a/builtin-checkout-index.c b/builtin/checkout-index.c index a7a5ee10f3..a7a5ee10f3 100644 --- a/builtin-checkout-index.c +++ b/builtin/checkout-index.c diff --git a/builtin-checkout.c b/builtin/checkout.c index c5ab7835e1..c5ab7835e1 100644 --- a/builtin-checkout.c +++ b/builtin/checkout.c diff --git a/builtin-clean.c b/builtin/clean.c index fac64e6cd3..fac64e6cd3 100644 --- a/builtin-clean.c +++ b/builtin/clean.c diff --git a/builtin-clone.c b/builtin/clone.c index 58bacbd552..58bacbd552 100644 --- a/builtin-clone.c +++ b/builtin/clone.c diff --git a/builtin-commit-tree.c b/builtin/commit-tree.c index 90dac349a3..90dac349a3 100644 --- a/builtin-commit-tree.c +++ b/builtin/commit-tree.c diff --git a/builtin-commit.c b/builtin/commit.c index 55676fd874..55676fd874 100644 --- a/builtin-commit.c +++ b/builtin/commit.c diff --git a/builtin-config.c b/builtin/config.c index 4bc46b15fd..4bc46b15fd 100644 --- a/builtin-config.c +++ b/builtin/config.c diff --git a/builtin-count-objects.c b/builtin/count-objects.c index 2bdd8ebde1..2bdd8ebde1 100644 --- a/builtin-count-objects.c +++ b/builtin/count-objects.c diff --git a/builtin-describe.c b/builtin/describe.c index 71be2a9364..71be2a9364 100644 --- a/builtin-describe.c +++ b/builtin/describe.c diff --git a/builtin-diff-files.c b/builtin/diff-files.c index 5b64011de8..5b64011de8 100644 --- a/builtin-diff-files.c +++ b/builtin/diff-files.c diff --git a/builtin-diff-index.c b/builtin/diff-index.c index 04837494fe..04837494fe 100644 --- a/builtin-diff-index.c +++ b/builtin/diff-index.c diff --git a/builtin-diff-tree.c b/builtin/diff-tree.c index 2380c21951..2380c21951 100644 --- a/builtin-diff-tree.c +++ b/builtin/diff-tree.c diff --git a/builtin-diff.c b/builtin/diff.c index ffcdd055ca..ffcdd055ca 100644 --- a/builtin-diff.c +++ b/builtin/diff.c diff --git a/builtin-fast-export.c b/builtin/fast-export.c index b0a4029c94..b0a4029c94 100644 --- a/builtin-fast-export.c +++ b/builtin/fast-export.c diff --git a/builtin-fetch-pack.c b/builtin/fetch-pack.c index dbd8b7bcc8..dbd8b7bcc8 100644 --- a/builtin-fetch-pack.c +++ b/builtin/fetch-pack.c diff --git a/builtin-fetch.c b/builtin/fetch.c index 8654fa7a2d..8654fa7a2d 100644 --- a/builtin-fetch.c +++ b/builtin/fetch.c diff --git a/builtin-fmt-merge-msg.c b/builtin/fmt-merge-msg.c index 9d524000b5..9d524000b5 100644 --- a/builtin-fmt-merge-msg.c +++ b/builtin/fmt-merge-msg.c diff --git a/builtin-for-each-ref.c b/builtin/for-each-ref.c index a5a83f1469..a5a83f1469 100644 --- a/builtin-for-each-ref.c +++ b/builtin/for-each-ref.c diff --git a/builtin-fsck.c b/builtin/fsck.c index 0929c7f245..0929c7f245 100644 --- a/builtin-fsck.c +++ b/builtin/fsck.c diff --git a/builtin-gc.c b/builtin/gc.c index c304638b78..c304638b78 100644 --- a/builtin-gc.c +++ b/builtin/gc.c diff --git a/builtin-grep.c b/builtin/grep.c index 552ef1face..552ef1face 100644 --- a/builtin-grep.c +++ b/builtin/grep.c diff --git a/builtin-hash-object.c b/builtin/hash-object.c index 6a5f5b5f0e..6a5f5b5f0e 100644 --- a/builtin-hash-object.c +++ b/builtin/hash-object.c diff --git a/builtin-help.c b/builtin/help.c index 3182a2bec4..3182a2bec4 100644 --- a/builtin-help.c +++ b/builtin/help.c diff --git a/builtin-index-pack.c b/builtin/index-pack.c index b4cf8c53e0..b4cf8c53e0 100644 --- a/builtin-index-pack.c +++ b/builtin/index-pack.c diff --git a/builtin-init-db.c b/builtin/init-db.c index dd84caecbc..dd84caecbc 100644 --- a/builtin-init-db.c +++ b/builtin/init-db.c diff --git a/builtin-log.c b/builtin/log.c index e0d5caa61b..e0d5caa61b 100644 --- a/builtin-log.c +++ b/builtin/log.c diff --git a/builtin-ls-files.c b/builtin/ls-files.c index b065061392..b065061392 100644 --- a/builtin-ls-files.c +++ b/builtin/ls-files.c diff --git a/builtin-ls-remote.c b/builtin/ls-remote.c index 70f5622d9d..70f5622d9d 100644 --- a/builtin-ls-remote.c +++ b/builtin/ls-remote.c diff --git a/builtin-ls-tree.c b/builtin/ls-tree.c index 4484185afc..4484185afc 100644 --- a/builtin-ls-tree.c +++ b/builtin/ls-tree.c diff --git a/builtin-mailinfo.c b/builtin/mailinfo.c index a50ac2256c..a50ac2256c 100644 --- a/builtin-mailinfo.c +++ b/builtin/mailinfo.c diff --git a/builtin-mailsplit.c b/builtin/mailsplit.c index 207e358ed1..207e358ed1 100644 --- a/builtin-mailsplit.c +++ b/builtin/mailsplit.c diff --git a/builtin-merge-base.c b/builtin/merge-base.c index 54e7ec2237..54e7ec2237 100644 --- a/builtin-merge-base.c +++ b/builtin/merge-base.c diff --git a/builtin-merge-file.c b/builtin/merge-file.c index 1e70073a7e..1e70073a7e 100644 --- a/builtin-merge-file.c +++ b/builtin/merge-file.c diff --git a/builtin-merge-index.c b/builtin/merge-index.c index 2c4cf5e559..2c4cf5e559 100644 --- a/builtin-merge-index.c +++ b/builtin/merge-index.c diff --git a/builtin-merge-ours.c b/builtin/merge-ours.c index 684411694f..684411694f 100644 --- a/builtin-merge-ours.c +++ b/builtin/merge-ours.c diff --git a/builtin-merge-recursive.c b/builtin/merge-recursive.c index d8875d5892..d8875d5892 100644 --- a/builtin-merge-recursive.c +++ b/builtin/merge-recursive.c diff --git a/builtin-merge-tree.c b/builtin/merge-tree.c index a4a4f2ce4c..a4a4f2ce4c 100644 --- a/builtin-merge-tree.c +++ b/builtin/merge-tree.c diff --git a/builtin-merge.c b/builtin/merge.c index 3aaec7bed7..3aaec7bed7 100644 --- a/builtin-merge.c +++ b/builtin/merge.c diff --git a/builtin-mktag.c b/builtin/mktag.c index 1cb0f3f2a7..1cb0f3f2a7 100644 --- a/builtin-mktag.c +++ b/builtin/mktag.c diff --git a/builtin-mktree.c b/builtin/mktree.c index 098395fda1..098395fda1 100644 --- a/builtin-mktree.c +++ b/builtin/mktree.c diff --git a/builtin-mv.c b/builtin/mv.c index c07f53b343..c07f53b343 100644 --- a/builtin-mv.c +++ b/builtin/mv.c diff --git a/builtin-name-rev.c b/builtin/name-rev.c index 06a38ac8c1..06a38ac8c1 100644 --- a/builtin-name-rev.c +++ b/builtin/name-rev.c diff --git a/builtin-pack-objects.c b/builtin/pack-objects.c index e1d3adf405..e1d3adf405 100644 --- a/builtin-pack-objects.c +++ b/builtin/pack-objects.c diff --git a/builtin-pack-redundant.c b/builtin/pack-redundant.c index 41e1615a28..41e1615a28 100644 --- a/builtin-pack-redundant.c +++ b/builtin/pack-redundant.c diff --git a/builtin-pack-refs.c b/builtin/pack-refs.c index 091860b2e3..091860b2e3 100644 --- a/builtin-pack-refs.c +++ b/builtin/pack-refs.c diff --git a/builtin-patch-id.c b/builtin/patch-id.c index af0911e4bd..af0911e4bd 100644 --- a/builtin-patch-id.c +++ b/builtin/patch-id.c diff --git a/builtin-prune-packed.c b/builtin/prune-packed.c index f9463deec2..f9463deec2 100644 --- a/builtin-prune-packed.c +++ b/builtin/prune-packed.c diff --git a/builtin-prune.c b/builtin/prune.c index 4675f6054f..4675f6054f 100644 --- a/builtin-prune.c +++ b/builtin/prune.c diff --git a/builtin-push.c b/builtin/push.c index 5633f0ade4..5633f0ade4 100644 --- a/builtin-push.c +++ b/builtin/push.c diff --git a/builtin-read-tree.c b/builtin/read-tree.c index 8bdcab1138..8bdcab1138 100644 --- a/builtin-read-tree.c +++ b/builtin/read-tree.c diff --git a/builtin-receive-pack.c b/builtin/receive-pack.c index 0559fcc871..0559fcc871 100644 --- a/builtin-receive-pack.c +++ b/builtin/receive-pack.c diff --git a/builtin-reflog.c b/builtin/reflog.c index 749821078d..749821078d 100644 --- a/builtin-reflog.c +++ b/builtin/reflog.c diff --git a/builtin-remote.c b/builtin/remote.c index 277765b864..277765b864 100644 --- a/builtin-remote.c +++ b/builtin/remote.c diff --git a/builtin-replace.c b/builtin/replace.c index fe3a647a36..fe3a647a36 100644 --- a/builtin-replace.c +++ b/builtin/replace.c diff --git a/builtin-rerere.c b/builtin/rerere.c index 34f9acee91..34f9acee91 100644 --- a/builtin-rerere.c +++ b/builtin/rerere.c diff --git a/builtin-reset.c b/builtin/reset.c index 0f5022eed2..0f5022eed2 100644 --- a/builtin-reset.c +++ b/builtin/reset.c diff --git a/builtin-rev-list.c b/builtin/rev-list.c index c924b3a2c7..c924b3a2c7 100644 --- a/builtin-rev-list.c +++ b/builtin/rev-list.c diff --git a/builtin-rev-parse.c b/builtin/rev-parse.c index a8c5043ded..a8c5043ded 100644 --- a/builtin-rev-parse.c +++ b/builtin/rev-parse.c diff --git a/builtin-revert.c b/builtin/revert.c index eff52687a8..eff52687a8 100644 --- a/builtin-revert.c +++ b/builtin/revert.c diff --git a/builtin-rm.c b/builtin/rm.c index f3772c84de..f3772c84de 100644 --- a/builtin-rm.c +++ b/builtin/rm.c diff --git a/builtin-send-pack.c b/builtin/send-pack.c index 2183a47052..2183a47052 100644 --- a/builtin-send-pack.c +++ b/builtin/send-pack.c diff --git a/builtin-shortlog.c b/builtin/shortlog.c index b3b055f68c..b3b055f68c 100644 --- a/builtin-shortlog.c +++ b/builtin/shortlog.c diff --git a/builtin-show-branch.c b/builtin/show-branch.c index 35a709e630..35a709e630 100644 --- a/builtin-show-branch.c +++ b/builtin/show-branch.c diff --git a/builtin-show-ref.c b/builtin/show-ref.c index 17ada88dfb..17ada88dfb 100644 --- a/builtin-show-ref.c +++ b/builtin/show-ref.c diff --git a/builtin-stripspace.c b/builtin/stripspace.c index 4d3b93fedb..4d3b93fedb 100644 --- a/builtin-stripspace.c +++ b/builtin/stripspace.c diff --git a/builtin-symbolic-ref.c b/builtin/symbolic-ref.c index ca855a5eb2..ca855a5eb2 100644 --- a/builtin-symbolic-ref.c +++ b/builtin/symbolic-ref.c diff --git a/builtin-tag.c b/builtin/tag.c index 4ef1c4f508..4ef1c4f508 100644 --- a/builtin-tag.c +++ b/builtin/tag.c diff --git a/builtin-tar-tree.c b/builtin/tar-tree.c index 3f1e7012db..3f1e7012db 100644 --- a/builtin-tar-tree.c +++ b/builtin/tar-tree.c diff --git a/builtin-unpack-file.c b/builtin/unpack-file.c index 608590ada8..608590ada8 100644 --- a/builtin-unpack-file.c +++ b/builtin/unpack-file.c diff --git a/builtin-unpack-objects.c b/builtin/unpack-objects.c index 685566e0b5..685566e0b5 100644 --- a/builtin-unpack-objects.c +++ b/builtin/unpack-objects.c diff --git a/builtin-update-index.c b/builtin/update-index.c index 3ab214d24e..3ab214d24e 100644 --- a/builtin-update-index.c +++ b/builtin/update-index.c diff --git a/builtin-update-ref.c b/builtin/update-ref.c index 76ba1d5881..76ba1d5881 100644 --- a/builtin-update-ref.c +++ b/builtin/update-ref.c diff --git a/builtin-update-server-info.c b/builtin/update-server-info.c index 2b3fddcc69..2b3fddcc69 100644 --- a/builtin-update-server-info.c +++ b/builtin/update-server-info.c diff --git a/builtin-upload-archive.c b/builtin/upload-archive.c index 73f788ef24..73f788ef24 100644 --- a/builtin-upload-archive.c +++ b/builtin/upload-archive.c diff --git a/builtin-var.c b/builtin/var.c index 2280518190..2280518190 100644 --- a/builtin-var.c +++ b/builtin/var.c diff --git a/builtin-verify-pack.c b/builtin/verify-pack.c index b6079ae6cb..b6079ae6cb 100644 --- a/builtin-verify-pack.c +++ b/builtin/verify-pack.c diff --git a/builtin-verify-tag.c b/builtin/verify-tag.c index 9f482c29f5..9f482c29f5 100644 --- a/builtin-verify-tag.c +++ b/builtin/verify-tag.c diff --git a/builtin-write-tree.c b/builtin/write-tree.c index b223af416f..b223af416f 100644 --- a/builtin-write-tree.c +++ b/builtin/write-tree.c |