Re: [PATCH 3/3] hook-list.h: add a generated list of hooks, like config-list.h
From: Junio C Hamano <hidden>
Date: 2021-06-29 00:32:43
From: Junio C Hamano <hidden>
Date: 2021-06-29 00:32:43
Johannes Schindelin [off-list ref] writes:
On Sun, 20 Jun 2021, René Scharfe wrote:quoted
How about something like this? sed -n '/^~~~~*$/ {x; p;}; x' Documentation/githooks.txt | sort | sed 's/^.*$/ "&",/' sed is already used by generate-configlist.sh.I do like me a good sed script. Thanks, Dscho
Yup. This is buried below the 27-patch series, so the whole thing cannot advance until this gets sorted out. Thanks.