[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.
AndyM
- Re: Why does make run git?, (continued)
- Re: Why does make run git?, Eli Zaretskii, 2017/08/02
- Re: Why does make run git?, Paul Eggert, 2017/08/02
- Re: Why does make run git?, Eli Zaretskii, 2017/08/02
- Re: Why does make run git?, Paul Eggert, 2017/08/02
- Re: Why does make run git?, Paul Eggert, 2017/08/12
- Re: Why does make run git?, Ted Zlatanov, 2017/08/15
- Re: Why does make run git?, Paul Eggert, 2017/08/15
- Re: Why does make run git?, Ted Zlatanov, 2017/08/15
- Re: Why does make run git?, Eli Zaretskii, 2017/08/15
- Re: Why does make run git?, Paul Eggert, 2017/08/15
- Re: Why does make run git?,
Andy Moreton <=
- Re: Why does make run git?, Noam Postavsky, 2017/08/16
- Re: Why does make run git?, Andreas Schwab, 2017/08/16
- Re: Why does make run git?, Ted Zlatanov, 2017/08/16
Re: Why does make run git?, Paul Eggert, 2017/08/01
Re: Why does make run git?, Radon Rosborough, 2017/08/01
Re: Why does make run git?, Richard Stallman, 2017/08/02