Only tests are updated to eliminate bashisms. Tested on busybox ash. Jonathan Nieder (2): git-rev-parse.txt: clarify --git-dir t0001: test git init when run via an alias Michael J Gruber (1): t1020-subdirectory: test alias expansion in a subdirectory Nguyán ThÃi Ngác Duy (44): builtins: print setup info if repo is found Add t1510 and basic rules that run repo setup t1510: setup case #0 t1510: setup case #1 t1510: setup case #2 t1510: setup case #3 t1510: setup case #4 t1510: setup case #5 t1510: setup case #6 t1510: setup case #7 t1510: setup case #8 t1510: setup case #9 t1510: setup case #10 t1510: setup case #11 t1510: setup case #12 t1510: setup case #13 t1510: setup case #14 t1510: setup case #15 t1510: setup case #16 t1510: setup case #17 t1510: setup case #18 t1510: setup case #19 t1510: setup case #20 t1510: setup case #21 t1510: setup case #22 t1510: setup case #23 t1510: setup case #24 t1510: setup case #25 t1510: setup case #26 t1510: setup case #27 t1510: setup case #28 t1510: setup case #29 t1510: setup case #30 t1510: setup case #31 rev-parse: prints --git-dir relative to user's cwd Add git_config_early() Use git_config_early() instead of git_config() during repo setup setup: limit get_git_work_tree()'s to explicit setup case only setup: clean up setup_bare_git_dir() setup: clean up setup_discovered_git_dir() setup: rework setup_explicit_git_dir() Remove all logic from get_git_work_tree() Revert "Documentation: always respect core.worktree if set" git.txt: correct where --work-tree path is relative to Documentation/config.txt | 23 +- Documentation/git-rev-parse.txt | 7 +- Documentation/git.txt | 2 +- builtin/init-db.c | 13 +- builtin/rev-parse.c | 6 +- cache.h | 2 + config.c | 19 +- environment.c | 26 +- git.c | 4 + setup.c | 230 ++- t/t0001-init.sh | 56 + t/t1020-subdirectory.sh | 8 + t/t1510-repo-setup.sh | 4532 +++++++++++++++++++++++++++++++++++++++ trace.c | 42 + 14 files changed, 4835 insertions(+), 135 deletions(-) create mode 100755 t/t1510-repo-setup.sh -- 1.7.3.2.316.gda8b3 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html