t9001: write $HOME/, not ~/, to help shells without tilde expansion
commit587089c1950199c3dcc14d159adb69be992d8d18
authorJunio C Hamano <gitster@pobox.com>
Sat, 23 May 2015 18:07:50 +0000 (23 11:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2015 20:03:44 +0000 (27 13:03 -0700)
tree97821e47a82aec601a37b802be51f2f6327fe90c
parent3169e06daf297227362fb64a9d5c2cc451fefcbb
t9001: write $HOME/, not ~/, to help shells without tilde expansion

Even though it is in POSIX, we do not have to use it, only to hurt
shells that may lack the support.

The .mailrc test tries to define an alias in .mailrc in the home
directory by shell redirection, and then tries to see ~/.mailrc in
config is tilde-expanded by Git without help from shell.  So the
creation should become $HOME/ to be portable for shells that may
lack tilde expansion but the reference should be done as "~/.mailrc".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh