Merge branch 'jk/rev-parse-local-env-vars' into maint
commit7488c2f65a029246c350b6e89484455a2249fe98
authorJunio C Hamano <gitster@pobox.com>
Fri, 15 Apr 2016 01:57:44 +0000 (14 18:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Apr 2016 01:57:44 +0000 (14 18:57 -0700)
treeae44c7d8f950aefc1593c3ba53411fad4bd37440
parent0759dfdd9c888cbec92240ada3193b57862b2265
parentfc7d47f0dd4f041af2ed2004700f18b635f3b204
Merge branch 'jk/rev-parse-local-env-vars' into maint

The "--local-env-vars" and "--resolve-git-dir" options of "git
rev-parse" failed to work outside a repository when the command's
option parsing was rewritten in 1.8.5 era.

* jk/rev-parse-local-env-vars:
  rev-parse: let some options run outside repository
  t1515: add tests for rev-parse out-of-repo helpers
builtin/rev-parse.c