dotfiles/bin/post-merge
James Patrick adbe85b7c1 Added post-merge hook to run update on merge.
This will case `make update` to run everytime there is a successful
merge. This will include everytime the is a non no-op merge. This *will
not run* if:

1. There is no changes.
2. There is a conflict in the merge.

Additionally the make install set will now sym link the post-merge hook.
2019-04-15 20:00:14 -04:00

9 lines
156 B
Bash
Executable File

#!/bin/sh
local_hook="$HOME"/.git_template.local/hooks/post-merge
[ -f "$local_hook" ] && . "$local_hook"
.git/hooks/ctags >/dev/null 2>&1 &
make update