Inspired by http://tbaggery.com/2011/08/08/effortless-ctags-with-git.html * Make `ctags` executable configurable * Adds `git ctags` * Runs `ctag` on `commit` / `branch` / `checkout` * Extensible via `~/.git_template.local/hooks/{pre,post}-*` * explain `git_template` under `git` section
4 lines
68 B
Bash
Executable file
4 lines
68 B
Bash
Executable file
#!/bin/sh
|
|
case "$1" in
|
|
rebase) exec .git/hooks/post-merge ;;
|
|
esac
|