summaryrefslogtreecommitdiff
path: root/Omni/Ide/hooks/reference-transaction
blob: ea0cce682f70405a66b1687741a9babd87a4916b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
## 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