Call setup_git_directory() much earlier
commita633fca0c056aa221d23493c276d3713191621b3
authorLinus Torvalds <torvalds@osdl.org>
Sat, 29 Jul 2006 05:44:25 +0000 (28 22:44 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 29 Jul 2006 08:34:07 +0000 (29 01:34 -0700)
tree6dcb10b511201ad3e83f736e7eba214e301e5805
parentdb6296a566eb1a8007a84330a911b38055720743
Call setup_git_directory() much earlier

This changes the calling convention of built-in commands and
passes the "prefix" (i.e. pathname of $PWD relative to the
project root level) down to them.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
35 files changed:
builtin-add.c
builtin-apply.c
builtin-cat-file.c
builtin-check-ref-format.c
builtin-commit-tree.c
builtin-count.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-stages.c
builtin-diff-tree.c
builtin-diff.c
builtin-fmt-merge-msg.c
builtin-grep.c
builtin-help.c
builtin-init-db.c
builtin-log.c
builtin-ls-files.c
builtin-ls-tree.c
builtin-mailinfo.c
builtin-mailsplit.c
builtin-prune.c
builtin-push.c
builtin-read-tree.c
builtin-rev-list.c
builtin-rev-parse.c
builtin-rm.c
builtin-show-branch.c
builtin-stripspace.c
builtin-tar-tree.c
builtin-update-index.c
builtin-update-ref.c
builtin-upload-tar.c
builtin-write-tree.c
builtin.h
git.c