Move 'builtin-*' into a 'builtin/' subdirectory
commit81b50f3ce40bfdd66e5d967bf82be001039a9a98
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Feb 2010 16:42:18 +0000 (22 08:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Feb 2010 22:29:41 +0000 (22 14:29 -0800)
tree7e86bb81e83c9fad73dcbdaa0ef33038137b4274
parent241b9254e1c8ff071d8054f8b6fbe1883b389d69
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>
90 files changed:
Makefile
builtin/add.c [moved from builtin-add.c with 100% similarity]
builtin/annotate.c [moved from builtin-annotate.c with 100% similarity]
builtin/apply.c [moved from builtin-apply.c with 100% similarity]
builtin/archive.c [moved from builtin-archive.c with 100% similarity]
builtin/bisect--helper.c [moved from builtin-bisect--helper.c with 100% similarity]
builtin/blame.c [moved from builtin-blame.c with 100% similarity]
builtin/branch.c [moved from builtin-branch.c with 100% similarity]
builtin/bundle.c [moved from builtin-bundle.c with 100% similarity]
builtin/cat-file.c [moved from builtin-cat-file.c with 100% similarity]
builtin/check-attr.c [moved from builtin-check-attr.c with 100% similarity]
builtin/check-ref-format.c [moved from builtin-check-ref-format.c with 100% similarity]
builtin/checkout-index.c [moved from builtin-checkout-index.c with 100% similarity]
builtin/checkout.c [moved from builtin-checkout.c with 100% similarity]
builtin/clean.c [moved from builtin-clean.c with 100% similarity]
builtin/clone.c [moved from builtin-clone.c with 100% similarity]
builtin/commit-tree.c [moved from builtin-commit-tree.c with 100% similarity]
builtin/commit.c [moved from builtin-commit.c with 100% similarity]
builtin/config.c [moved from builtin-config.c with 100% similarity]
builtin/count-objects.c [moved from builtin-count-objects.c with 100% similarity]
builtin/describe.c [moved from builtin-describe.c with 100% similarity]
builtin/diff-files.c [moved from builtin-diff-files.c with 100% similarity]
builtin/diff-index.c [moved from builtin-diff-index.c with 100% similarity]
builtin/diff-tree.c [moved from builtin-diff-tree.c with 100% similarity]
builtin/diff.c [moved from builtin-diff.c with 100% similarity]
builtin/fast-export.c [moved from builtin-fast-export.c with 100% similarity]
builtin/fetch-pack.c [moved from builtin-fetch-pack.c with 100% similarity]
builtin/fetch.c [moved from builtin-fetch.c with 100% similarity]
builtin/fmt-merge-msg.c [moved from builtin-fmt-merge-msg.c with 100% similarity]
builtin/for-each-ref.c [moved from builtin-for-each-ref.c with 100% similarity]
builtin/fsck.c [moved from builtin-fsck.c with 100% similarity]
builtin/gc.c [moved from builtin-gc.c with 100% similarity]
builtin/grep.c [moved from builtin-grep.c with 100% similarity]
builtin/hash-object.c [moved from builtin-hash-object.c with 100% similarity]
builtin/help.c [moved from builtin-help.c with 100% similarity]
builtin/index-pack.c [moved from builtin-index-pack.c with 100% similarity]
builtin/init-db.c [moved from builtin-init-db.c with 100% similarity]
builtin/log.c [moved from builtin-log.c with 100% similarity]
builtin/ls-files.c [moved from builtin-ls-files.c with 100% similarity]
builtin/ls-remote.c [moved from builtin-ls-remote.c with 100% similarity]
builtin/ls-tree.c [moved from builtin-ls-tree.c with 100% similarity]
builtin/mailinfo.c [moved from builtin-mailinfo.c with 100% similarity]
builtin/mailsplit.c [moved from builtin-mailsplit.c with 100% similarity]
builtin/merge-base.c [moved from builtin-merge-base.c with 100% similarity]
builtin/merge-file.c [moved from builtin-merge-file.c with 100% similarity]
builtin/merge-index.c [moved from builtin-merge-index.c with 100% similarity]
builtin/merge-ours.c [moved from builtin-merge-ours.c with 100% similarity]
builtin/merge-recursive.c [moved from builtin-merge-recursive.c with 100% similarity]
builtin/merge-tree.c [moved from builtin-merge-tree.c with 100% similarity]
builtin/merge.c [moved from builtin-merge.c with 100% similarity]
builtin/mktag.c [moved from builtin-mktag.c with 100% similarity]
builtin/mktree.c [moved from builtin-mktree.c with 100% similarity]
builtin/mv.c [moved from builtin-mv.c with 100% similarity]
builtin/name-rev.c [moved from builtin-name-rev.c with 100% similarity]
builtin/pack-objects.c [moved from builtin-pack-objects.c with 100% similarity]
builtin/pack-redundant.c [moved from builtin-pack-redundant.c with 100% similarity]
builtin/pack-refs.c [moved from builtin-pack-refs.c with 100% similarity]
builtin/patch-id.c [moved from builtin-patch-id.c with 100% similarity]
builtin/prune-packed.c [moved from builtin-prune-packed.c with 100% similarity]
builtin/prune.c [moved from builtin-prune.c with 100% similarity]
builtin/push.c [moved from builtin-push.c with 100% similarity]
builtin/read-tree.c [moved from builtin-read-tree.c with 100% similarity]
builtin/receive-pack.c [moved from builtin-receive-pack.c with 100% similarity]
builtin/reflog.c [moved from builtin-reflog.c with 100% similarity]
builtin/remote.c [moved from builtin-remote.c with 100% similarity]
builtin/replace.c [moved from builtin-replace.c with 100% similarity]
builtin/rerere.c [moved from builtin-rerere.c with 100% similarity]
builtin/reset.c [moved from builtin-reset.c with 100% similarity]
builtin/rev-list.c [moved from builtin-rev-list.c with 100% similarity]
builtin/rev-parse.c [moved from builtin-rev-parse.c with 100% similarity]
builtin/revert.c [moved from builtin-revert.c with 100% similarity]
builtin/rm.c [moved from builtin-rm.c with 100% similarity]
builtin/send-pack.c [moved from builtin-send-pack.c with 100% similarity]
builtin/shortlog.c [moved from builtin-shortlog.c with 100% similarity]
builtin/show-branch.c [moved from builtin-show-branch.c with 100% similarity]
builtin/show-ref.c [moved from builtin-show-ref.c with 100% similarity]
builtin/stripspace.c [moved from builtin-stripspace.c with 100% similarity]
builtin/symbolic-ref.c [moved from builtin-symbolic-ref.c with 100% similarity]
builtin/tag.c [moved from builtin-tag.c with 100% similarity]
builtin/tar-tree.c [moved from builtin-tar-tree.c with 100% similarity]
builtin/unpack-file.c [moved from builtin-unpack-file.c with 100% similarity]
builtin/unpack-objects.c [moved from builtin-unpack-objects.c with 100% similarity]
builtin/update-index.c [moved from builtin-update-index.c with 100% similarity]
builtin/update-ref.c [moved from builtin-update-ref.c with 100% similarity]
builtin/update-server-info.c [moved from builtin-update-server-info.c with 100% similarity]
builtin/upload-archive.c [moved from builtin-upload-archive.c with 100% similarity]
builtin/var.c [moved from builtin-var.c with 100% similarity]
builtin/verify-pack.c [moved from builtin-verify-pack.c with 100% similarity]
builtin/verify-tag.c [moved from builtin-verify-tag.c with 100% similarity]
builtin/write-tree.c [moved from builtin-write-tree.c with 100% similarity]