Re: [PATCH v2 0/2] Fix bugs in rev-parse's output when run in a subdirectory

2017-02-10 Thread Junio C Hamano
Johannes Schindelin writes: > Johannes Schindelin (1): > rev-parse: fix several options when running in a subdirectory > > Michael Rappazzo (1): > rev-parse tests: add tests executed from a subdirectory > > builtin/rev-parse.c | 15 +++ > t/t1500-rev-parse.sh | 28 ++

[PATCH v2 0/2] Fix bugs in rev-parse's output when run in a subdirectory

2017-02-10 Thread Johannes Schindelin
The bug that bit me (hard!) and that triggered not only a long series of curses but also my writing a patch and sending it to the list was that `git rev-parse --git-path HEAD` would give *incorrect* output when run in a subdirectory of a regular checkout, but *correct* output when run in a subdirec