summaryrefslogtreecommitdiffstats
path: root/hook.c
AgeCommit message (Expand)AuthorLines
2025-02-07path: refactor `repo_git_path()` family of functionsPatrick Steinhardt-2/+1
2024-12-15Merge branch 'bf/explicit-config-set-in-advice-messages'Junio C Hamano-1/+1
2024-12-06advice: suggest using subcommand "git config set"Bence Ferdinandy-1/+1
2024-08-13hooks: remove implicit dependency on `the_repository`Patrick Steinhardt-10/+11
2024-05-24Merge branch 'fixes/2.45.1/2.41' into fixes/2.45.1/2.42Junio C Hamano-33/+0
2024-05-24Merge branch 'fixes/2.45.1/2.40' into fixes/2.45.1/2.41Junio C Hamano-33/+0
2024-05-24Merge branch 'jc/fix-2.45.1-and-friends-for-2.39' into fixes/2.45.1/2.40Junio C Hamano-32/+0
2024-05-21clone: drop the protections where hooks aren't runJohannes Schindelin-34/+0
2024-05-21hook: plug a new memory leakJohannes Schindelin-1/+3
2024-04-19Sync with 2.41.1Johannes Schindelin-7/+46
2024-04-19Sync with 2.40.2Johannes Schindelin-7/+46
2024-04-19Sync with 2.39.4Johannes Schindelin-7/+43
2024-04-19clone: prevent hooks from running during a cloneJohannes Schindelin-0/+32
2024-04-17find_hook(): refactor the `STRIP_EXTENSION` logicJohannes Schindelin-7/+11
2023-06-12abspath: move related functions to abspathCalvin Wan-0/+1
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren-0/+1
2023-03-17Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano-6/+6
2023-02-24run_processes_parallel: mark unused callback parametersJeff King-6/+6
2023-02-23treewide: replace cache.h with more direct headers, where possibleElijah Newren-1/+4
2023-02-08hook API: support passing stdin to hooks, convert am's 'post-rewrite'Emily Shaffer-0/+5
2022-10-12run-command API: have run_process_parallel() take an "opts" structÆvar Arnfjörð Bjarmason-9/+14
2022-08-14Merge branch 'ab/hooks-regression-fix'Junio C Hamano-7/+0
2022-08-05hook API: don't segfault on strbuf_addf() to NULL "out"Ævar Arnfjörð Bjarmason-7/+0
2022-06-13Merge branch 'ab/hooks-regression-fix'Junio C Hamano-0/+1
2022-06-07hook API: fix v2.36.0 regression: hooks should be connected to a TTYÆvar Arnfjörð Bjarmason-0/+1
2022-06-02run-command API: rename "env_array" to "env"Ævar Arnfjörð Bjarmason-1/+1
2022-03-07hooks: fix an obscure TOCTOU "did we just run a hook?" raceÆvar Arnfjörð Bjarmason-0/+7
2022-01-07hooks: convert worktree 'post-checkout' hook to hook libraryEmily Shaffer-0/+8
2022-01-07hook API: add a run_hooks_l() wrapperÆvar Arnfjörð Bjarmason-0/+14
2022-01-07hook API: add a run_hooks() wrapperÆvar Arnfjörð Bjarmason-0/+7
2022-01-07hook: add 'run' subcommandEmily Shaffer-0/+102
2021-09-27hook.c: add a hook_exists() wrapper and use it in bugreport.cEmily Shaffer-0/+5
2021-09-27hook.[ch]: move find_hook() from run-command.c to hook.cÆvar Arnfjörð Bjarmason-0/+37