Code

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