Re: [PATCH v5 1/1] send-email: Add sendmail email aliases format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 23, 2015 at 6:24 PM, Allen Hubbe <allenbh@xxxxxxxxx> wrote:
> On Sat, May 23, 2015 at 2:07 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>> Junio C Hamano <gitster@xxxxxxxxx> writes:
>>
>>> A small thing I noticed in the test (and this patch is not adding a
>>> new "breakage"---there are a few existing instances) is the use of
>>> "~/"; it should be spelled "$HOME/" instead for portability (not in
>>> POSIX, even though bash, dash and ksh all seem to understand it).
>>
>> Well, I was wrong. Tilde expansion is in POSIX.
>>
>> Nevertheless, I'd prefer if we avoided it.
>
> Alright, $HOME it will be.

Looking closer at this and the other test cases, they are inconsistent
about using ".mailrc", "~/.mailrc", and "$(pwd)/.mailrc".  This would
add another one, "$HOME/.mailrc".

How do you feel about using just ".mailrc", and "$(pwd)/.mailrc" when
an absolute path is needed in gitconfig?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]