From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why does make run git? Date: Tue, 01 Aug 2017 06:07:04 +0300 Message-ID: <83bmo00yw7.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1501556886 11737 195.159.176.226 (1 Aug 2017 03:08:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 03:08:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 05:08:00 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcNXK-0002UT-4F for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2017 05:07:58 +0200 Original-Received: from localhost ([::1]:34208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNXM-0006SD-Qp for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2017 23:08:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNWi-0006S7-Lm for emacs-devel@gnu.org; Mon, 31 Jul 2017 23:07:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcNWd-00056t-IR for emacs-devel@gnu.org; Mon, 31 Jul 2017 23:07:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNWd-00056p-FJ for emacs-devel@gnu.org; Mon, 31 Jul 2017 23:07:15 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4208 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dcNWW-0007qt-5F; Mon, 31 Jul 2017 23:07:08 -0400 In-reply-to: (message from Richard Stallman on Mon, 31 Jul 2017 21:19:51 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217188 Archived-At: > From: Richard Stallman > Date: Mon, 31 Jul 2017 21:19:51 -0400 > > I was surprised to see this output from `make'. What does this do? Configure Git commands for Emacs, mostly. > It seems fundamentally unmodular for building Emacs from sources > to concern itself in any way with how you got those sources. It is indeed somewhat controversial. > git config transfer.fsckObjects 'true' This makes Git abort if it sees a bad object being pulled or pushed. > git config diff.elisp.xfuncname '^\(def[^[:space:]]+[[:space:]]+([^()[:space:]]+)' > git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*' > git config diff.make.xfuncname '^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)' > git config diff.shell.xfuncname '^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:space:]]*\(\)|[[:alpha:]_][[:alnum:]_]*=)' > git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)' These tailor the Git's notion of a "function" for the various languages. It's handy in several commands that need to know where a function begins and ends. > Installing git hooks... > ‘build-aux/git-hooks/commit-msg’ -> ‘.git/hooks/commit-msg’ > ‘build-aux/git-hooks/pre-commit’ -> ‘.git/hooks/pre-commit’ > ‘.git/hooks/applypatch-msg.sample’ -> ‘.git/hooks/applypatch-msg’ > ‘.git/hooks/pre-applypatch.sample’ -> ‘.git/hooks/pre-applypatch’ These hooks check the format of the commits and verify it is according to our standards.