GNU bug report logs - #21789
25.0.50; Can' build Emacs (my first build since GIT migration)

Previous Next

Package: emacs;

Reported by: Vincent Belaïche <vincent.b.1 <at> hotmail.fr>

Date: Fri, 30 Oct 2015 11:55:02 UTC

Severity: minor

Found in version 25.0.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincent Belaïche <vincent.b.1 <at> hotmail.fr>
Cc: 21789 <at> debbugs.gnu.org
Subject: bug#21789: 25.0.50; Can' build Emacs (my first build since GIT migration)
Date: Sat, 31 Oct 2015 15:42:09 +0200
> From: Vincent Belaïche <vincent.b.1 <at> hotmail.fr>
> CC: "21789 <at> debbugs.gnu.org" <21789 <at> debbugs.gnu.org>
> Date: Sat, 31 Oct 2015 14:26:41 +0100
> 
> > Instead, remove the Git repository, re-install Git as instructed in
> > nt/INSTALL, then re-clone the repository again.
> 
> Ok, I will do that. It surprises me that you need to tamper with the git
> system setting that affect all the projects using git, just for the sake
> of one project.

It's not for the sake of one project.  Installing Git as I indicated
is the only sensible thing for _any_ project.  For some reason, Git
for Windows doesn't have that as default; moreover, in the past I
remember some people arguing with me that what I suggest is actually
wrong (I disagree with their arguments).

I would encourage you to report this to the msysGit project as a bug.

> I am using git also for fmtcount and I have some changes
> pending, so I think that I will have to restore the original system
> settings when I come back to fmtcount. That is not a very practical
> solution.

The setting is on ~/.gitconfig and can be overridden by the
project-local .git/config file, if you need.  But my recommendation is
to switch all your Git-based projects to this default.  Otherwise, if
the project has files that need special EOL format, you will get in
trouble.

> I am quite novice with git, but just wondering whether it isn't possible
> to get the same effect with affecting emacs only by writing in the local
> config file (emacs/.git/config) some setting that would supersede the
> global and system settings, e.g. you would have
> 
> [core]
> autocrlf =
> 
> in the local config.

It's possible, yes.  Just make sure you have neither autocrlf nor eol
settings in your .git/config file, in the [core] section.

Once again, using anything else in other projects is just waiting for
trouble, so I really recommend this as a global setting.




This bug report was last modified 8 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.