Merge branch 'js/git-path-in-subdir'
commit39b8980bb9eacfff0f28101e71354350fdfc5340
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2017 21:57:17 +0000 (27 13:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2017 21:57:17 +0000 (27 13:57 -0800)
tree9b5f3d75a739b3acacbaefbe1657c17973804f12
parentb760481a3fccd9edcf41bc1140201639b7f11ea0
parent098aa867626ef2444ef14a92b428a6ca26d83e60
Merge branch 'js/git-path-in-subdir'

The "--git-path", "--git-common-dir", and "--shared-index-path"
options of "git rev-parse" did not produce usable output.  They are
now updated to show the path to the correct file, relative to where
the caller is.

* js/git-path-in-subdir:
  rev-parse: fix several options when running in a subdirectory
  rev-parse tests: add tests executed from a subdirectory
builtin/rev-parse.c
t/t1500-rev-parse.sh