emacs-devel
[Top][All Lists]
Advanced

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

Re: Why does make run git?


From: Noam Postavsky
Subject: Re: Why does make run git?
Date: Wed, 16 Aug 2017 08:38:45 -0400

On Wed, Aug 16, 2017 at 8:30 AM, Andy Moreton <address@hidden> wrote:

>>> 'build-aux/git-hooks/commit-msg' -> '.git/hooks/commit-msg'
>>> cp: cannot create regular file '.git/hooks/commit-msg': No such file or 
>>> directory
>>> ERROR: Job failed: exit code 1
>>> #+end_src
>>>
>>> So it looks like it assumes that `.git/hooks' exists. I don't know why
>>> that's not true in the GitLab checkout.
>>
>> I don't know why either. I wonder what other compatibility mines remain
>> unexploded in the GitLab field? Anyway, I installed the attached, which 
>> should
>> work around this particular problem without having to complicate the
>> configuration instructions.
>
> Is it possible that gitlab is using git worktrees, in which case .git in
> the worktree is a regular file and not a directory ?

We already fixed autogen.sh for git worktrees last year.

[1: 403cc9f]: 2016-05-04 21:11:37 -0700
  Fix autogen.sh for separate worktrees
  
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=403cc9fad9534338050b0ce14941e3d9cd30079a



reply via email to

[Prev in Thread] Current Thread [Next in Thread]