commit | d01aa29f9f9e113a6b759b73cff0170f56f76002 | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Tue Apr 23 18:40:05 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 23 18:40:05 2024 +0000 |
tree | 9da7e1aee5ed8112c1e59db1f0f1e444d7cbecc2 | |
parent | bc6388fd60ff21b4122104864285da010fe90521 [diff] |
pw_presubmit: Allow disabling hook creation Allow disabling automatic hook creation (perhaps by bootstrap.sh) in repos by deleting '.git/hooks' then creating it as a regular file. Catch the exceptions produced by this, print a warning, and continue. Change-Id: I13c977472998d52a672d8bd97773ddb3d3c2f6c6 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/205912 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.