Merge branch 'nd/tilde-expand-opt-file-value' into pu
authorJunio C Hamano <gitster@pobox.com>
Fri, 23 Feb 2018 22:47:50 +0000 (14:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Feb 2018 22:47:50 +0000 (14:47 -0800)
commit7e3c8e282b20370858bf2f1df4e836dc53caa00a
tree6b3eeaa6553da0361c132843d3238f40cc35f5a8
parent0982f3744f2380fa78f11b2579ad876f40769489
parent5718959ee7db9b2c748d2c58d9d28d9687fcd371
Merge branch 'nd/tilde-expand-opt-file-value' into pu

"git cmd --opt=~u/path/to/file" did not tilde-expand "~u" part to
the path to the home directory of user 'u'

* nd/tilde-expand-opt-file-value:
  init-db: change --template type to OPTION_FILENAME
  parse-options: expand $HOME on filename options
builtin/init-db.c
parse-options.c