threads / discuss / 16064

Some hooks turned on by default in FreeBSD 4

Subject: Some hooks turned on by default in FreeBSD 4

## tl;dr

2 messages between Oct 27, 2008 and Oct 27, 2008.

replies: 1people: 2as markdown or json

Robert Boone· Oct 27, 2008, 19:14 UTC · lore

This was a fresh install from the git repository using the master branch git version: 1.6.0.3.523.g304d0

Is this something that can be fixed with a recompile and different arguments?

[root@user /usr/local/cpanel.git]# git commit fatal: exec .git/hooks/pre-commit failed. [root@user /usr/local/cpanel.git]# ls -l .git/hooks/ total 52 -rw-r--r-- 1 root wheel 441 Oct 27 10:14 applypatch-msg -rwxr-xr-x 1 root wheel 452 Oct 27 10:14 applypatch-msg.sample -rw-r--r-- 1 root wheel 887 Oct 27 10:14 commit-msg -rwxr-xr-x 1 root wheel 894 Oct 27 10:14 commit-msg.sample -rw-r--r-- 1 root wheel 152 Oct 27 10:14 post-commit -rwxr-xr-x 1 root wheel 160 Oct 27 10:14 post-commit.sample -rw-r--r-- 1 root wheel 510 Oct 27 10:14 post-receive -rwxr-xr-x 1 root wheel 553 Oct 27 10:14 post-receive.sample -rw-r--r-- 1 root wheel 207 Oct 27 10:14 post-update -rwxr-xr-x 1 root wheel 189 Oct 27 10:14 post-update.sample -rw-r--r-- 1 root wheel 387 Oct 27 10:14 pre-applypatch -rwxr-xr-x 1 root wheel 398 Oct 27 10:14 pre-applypatch.sample -rw-r--r-- 1 root wheel 1706 Oct 27 10:14 pre-commit -rwxr-xr-x 1 root wheel 519 Oct 27 10:14 pre-commit.sample -rw-r--r-- 1 root wheel 4262 Oct 27 10:14 pre-rebase -rwxr-xr-x 1 root wheel 4942 Oct 27 10:14 pre-rebase.sample -rw-r--r-- 1 root wheel 1196 Oct 27 10:14 prepare-commit-msg -rwxr-xr-x 1 root wheel 1219 Oct 27 10:14 prepare-commit-msg.sample -rw-r--r-- 1 root wheel 2910 Oct 27 10:14 update -rwxr-xr-x 1 root wheel 2892 Oct 27 10:14 update.sample

Pieter de Bie· Oct 27, 2008, 19:23 UTC · re: Robert Boone · lore

Re: Some hooks turned on by default in FreeBSD 4

On 27 okt 2008, at 20:14, Robert Boone wrote:
> [root@user /usr/local/cpanel.git]# ls -l .git/hooks/
> total 52
> -rw-r--r--  1 root  wheel   441 Oct 27 10:14 applypatch-msg
> -rwxr-xr-x  1 root  wheel   452 Oct 27 10:14 applypatch-msg.sample

You probably installed the new git over an older one? The old files in the templates weren't deleted, so now you have both the old version without .sample and the new ones in your template folder.

← back to recent threads