all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Why does make run git?
Date: Wed, 16 Aug 2017 14:49:00 +0200	[thread overview]
Message-ID: <mvmo9rfsmo3.fsf@suse.de> (raw)
In-Reply-To: <vz160dn8zl7.fsf@gmail.com> (Andy Moreton's message of "Wed, 16 Aug 2017 13:30:12 +0100")

On Aug 16 2017, Andy Moreton <andrewjmoreton@gmail.com> wrote:

> 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 ?

.git must already exist as a directory, otherwise '.git/config' ->
'.git/config.~1~' wouldn't have worked.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



  parent reply	other threads:[~2017-08-16 12:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-01  1:19 Why does make run git? Richard Stallman
2017-08-01  3:07 ` Eli Zaretskii
2017-08-01 14:30   ` Richard Stallman
2017-08-01 14:49     ` Tino Calancha
2017-08-02 17:26       ` Richard Stallman
2017-08-02 17:43         ` Radon Rosborough
2017-08-03 19:43           ` Richard Stallman
2017-08-03 20:02             ` Radon Rosborough
2017-08-02 17:56         ` Paul Eggert
2017-08-02 18:31           ` Eli Zaretskii
2017-08-02 18:42             ` Paul Eggert
2017-08-02 19:10               ` Eli Zaretskii
2017-08-02 20:04                 ` Paul Eggert
2017-08-12 16:11                   ` Paul Eggert
2017-08-15 14:18           ` Ted Zlatanov
2017-08-15 15:52             ` Paul Eggert
2017-08-15 16:58               ` Ted Zlatanov
2017-08-15 17:08                 ` Eli Zaretskii
2017-08-15 20:39                 ` Paul Eggert
2017-08-16 12:30                   ` Andy Moreton
2017-08-16 12:38                     ` Noam Postavsky
2017-08-16 12:49                     ` Andreas Schwab [this message]
2017-08-16 14:09                   ` Ted Zlatanov
2017-08-01  3:14 ` Tino Calancha
2017-08-02 17:25   ` Richard Stallman
2017-08-01 15:10 ` Paul Eggert
2017-08-01 15:15   ` Kaushal Modi
2017-08-01 16:01 ` Radon Rosborough
2017-08-02 17:30   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvmo9rfsmo3.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=andrewjmoreton@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.