summaryrefslogtreecommitdiff
path: root/Omni/Ide/hooks/reference-transaction
blob: 474e52dd10d90db865198481cb3ca54a32c39174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
## START BRANCHLESS CONFIG

# Avoid canceling the reference transaction in the case that `branchless` fails
# for whatever reason.
git branchless hook reference-transaction "$@" || (
echo 'branchless: Failed to process reference transaction!'
echo 'branchless: Some events (e.g. branch updates) may have been lost.'
echo 'branchless: This is a bug. Please report it.'
)

## END BRANCHLESS CONFIG