From: Guy Maurel <guy-kde@maurel.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>, git@vger.kernel.org
Subject: Re: a problem with the gitconfig file for user.email
Date: Tue, 15 Mar 2011 18:45:51 +0100 [thread overview]
Message-ID: <201103151845.52330.guy-kde@maurel.de> (raw)
In-Reply-To: <7v8vwihbfx.fsf@alter.siamese.dyndns.org>
Hello!
Thanks for helping, but...
On Monday, March 14, 2011 12:01:38 AM Junio C Hamano wrote:
> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
> > Guy Maurel <guy-kde@maurel.de> 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).
I had very little things:
[user]
name = Guy Maurel
email = guy-kde@maurel.de
^^ these are spaces
>
> 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.
I am using kernel 2.6.37-ARCH and git 1.7.4.1-1 64bits
But I cannot reproduce the problem *today*.
I am sorry, so sorry. I bet your pardon.
As I made a git config --add user.email guy-kde@maurel.de
I got a <TAB> before the email keyword, this leads me to my question.
Thanks for helping
--
guy
prev parent reply other threads:[~2011-03-15 17:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-13 17:32 a problem with the gitconfig file for user.email Guy Maurel
2011-03-13 22:29 ` Matthieu Moy
2011-03-13 23:01 ` Junio C Hamano
2011-03-15 17:45 ` Guy Maurel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201103151845.52330.guy-kde@maurel.de \
--to=guy-kde@maurel.de \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).