Skip to content
Snippets Groups Projects
Unverified Commit 10fd8608 authored by Pablo Correa Gomez's avatar Pablo Correa Gomez :beach: Committed by Oliver Smith
Browse files

pmb.config.init: copy pmaports githooks to default git hooks dir


So that githooks can be used in pmaports without the risk that symlinks
pose when checking out random branches from random people. The hooks
are copied, only when doing "pmbootstrap init", selecting the edge
channel and having the master branch checked out (not any other branch
on the edge channel or on any other channel).

Closes: pmaports#2055
Related: pmaports!4008
Signed-off-by: default avatarPablo Correa Gómez <ablocorrea@hotmail.com>
Reviewed-by: default avatarOliver Smith <ollieparanoid@postmarketos.org>
Reviewed-by: default avatarClayton Craft <clayton@craftyguy.net>
Co-developed-by: default avatarOliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3CDB9P192MB129107CAA025F4EF59D3FB53C7999@DB9P192MB1291.EURP192.PROD.OUTLOOK.COM%3E
parent a747aabe
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment