Differences from v1[1]:
- Simplify implementation based on review comments
- Included similar changes in rev-parse for --git-path and --shared-index-path
- Added tests and separated them into individual commits
[1] http://thread.gmane.org/gmane.comp.version-control.git/290669
Michael Rappazzo (4):
rev-parse: fix some options when executed from subpath of main tree
t1500-rev-parse: add tests executed from sub path of the main worktree
t2027-worktree-list: add and adjust tests related to git-rev-parse
t1700-split-index: add test for rev-parse --shared-index-path
builtin/rev-parse.c | 19 ++++++++++++++-----
t/t1500-rev-parse.sh | 37 +++++++++++++++++++++++++++++++++++++
t/t1700-split-index.sh | 17 +++++++++++++++++
t/t2027-worktree-list.sh | 10 +++++++++-
4 files changed, 77 insertions(+), 6 deletions(-)