[Top][All Lists]

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

Re: Why does make run git?

From: Paul Eggert
Subject: Re: Why does make run git?
Date: Tue, 15 Aug 2017 13:39:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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 
ERROR: Job failed: exit code 1

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.

Attachment: 0001-Do-not-assume-regular-Git-.git-hooks-dir.txt
Description: Text document

reply via email to

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