Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2021 11:07:59 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        freebsd-git <freebsd-git@freebsd.org>
Subject:   Re: git command to run .hooks/prepare-commit-msg
Message-ID:  <CANCZdfr9RDOA5RXFkws%2BXmFyy5kvpN11uTwrwRjm66UDAmp_Fw@mail.gmail.com>
In-Reply-To: <CAFDf7UKBCX24gioLxF=Xt3wROVo8Cqzf=MieQ%2B=YcWuiX_JEOA@mail.gmail.com>
References:  <CAFDf7UL%2BOP4Se4UwMGdQFSVtKSx%2B6QSCHUezKMVpZucVd7Gwdw@mail.gmail.com> <CAFDf7UKBCX24gioLxF=Xt3wROVo8Cqzf=MieQ%2B=YcWuiX_JEOA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e609ae05c63b1d85
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 3, 2021 at 11:00 AM Nuno Teixeira <eduardo@freebsd.org> wrote:

> ---------- Forwarded message ---------
> De: Nuno Teixeira <eduardo@freebsd.org>
> Date: s=C3=A1bado, 3/07/2021 =C3=A0(s) 17:57
> Subject: git command to run .hooks/prepare-commit-msg
> To: FreeBSD Mailing List <freebsd-ports@freebsd.org>
>
>
> Hello,
>
> I can't find git command so I can run .hooks/prepare-commit-msg when I
> commit.
>

Please see
https://docs.freebsd.org/en/articles/committers-guide/#git-mini-primer-gett=
ing-started
at the end of the 'Dialy Use' section for the details. It would seem you
have the path
a bit confused. It's not .hooks, but rather .git/hooks.

Warner

--000000000000e609ae05c63b1d85--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr9RDOA5RXFkws%2BXmFyy5kvpN11uTwrwRjm66UDAmp_Fw>