[Top][All Lists]

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

Re: Why does make run git?

From: Andy Moreton
Subject: Re: Why does make run git?
Date: Wed, 16 Aug 2017 13:30:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (windows-nt)

On Tue 15 Aug 2017, Paul Eggert wrote:

> Ted Zlatanov wrote:
>> I think CONTRIBUTE should mention, right after saying to run autogen.sh,
>> that the above requires Git to be installed.
> autogen.sh is not supposed to require Git, so let's fix autogen.sh instead.
>> '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 ? See the DETAILS
section of the git-worktree manpage for an example.


reply via email to

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