Differenced from v2[1]:
- Rewrote the commits to just two; one that introduces tests, and
one which fixes the problem.
[1] http://thread.gmane.org/gmane.comp.version-control.git/292272
Michael Rappazzo (2):
rev-parse tests: add tests executed from a subdirectory
rev-parse: fix some options when executed from subpath of main tree
builtin/rev-parse.c | 19 ++++++++++++++-----
t/t1500-rev-parse.sh | 38 ++++++++++++++++++++++++++++++++++++++
t/t1700-split-index.sh | 17 +++++++++++++++++
t/t2027-worktree-list.sh | 10 +++++++++-
4 files changed, 78 insertions(+), 6 deletions(-)