commit | 79bf149061fa29482512d903192a0d929e82872b | [log] [tgz] |
---|---|---|
author | Jonathan Nieder <jrnieder@gmail.com> | Mon Jul 26 10:06:51 2010 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jul 27 10:58:46 2010 -0700 |
tree | 2eab8bb4dec251568078a3c8074bbdecc8b45c67 | |
parent | 28bf4ba014c9b41679f41580fa9e1cc294b240d9 [diff] |
config --get --path: check for unset $HOME If $HOME is unset (as in some automated build situations), currently git config --path path.home "~" git config --path --get path.home segfaults. Error out with Failed to expand user dir in: '~/' instead. Reported-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>