Re: a problem with the gitconfig file for user.email

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

 



Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> writes:

> Guy Maurel <guy-kde@xxxxxxxxx> writes:
>
>> why is it necessary to have a <TAB> before the email keyword in the [user]
>> section?
>
> It isn't. I've just checked with email right at the beginning of the
> line, without tab or space, and it works (with the latest git.git).
>
>> If not, one get the error message:
>>   fatal: bad config file line 2 in /home/guy-kde/.gitconfig
>
> Please, give a short and reproducible senario (eg. the full content of
> .gitconfig, and the command you've typed to get this).

Good suggestion.  I suspect this is some third party programs or hooks
that are trying to hand parse the config file.  In the distant past, some
of our perl based Porcelains may have done so but I think these days
everything we ship should be reading from "git config" output or calling
git_config() from C.
--
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]