##// END OF EJS Templates
Catch termios.error in pager...
Catch termios.error in pager This error is raised by termios.tcgetattr on really old Linux versions (here: Ubuntu 8.04.4) in doctests, that is, without a real stdout.

File last commit:

r16130:886dd89f
r21030:e1fb5366
Show More
install-hooks.sh
9 lines | 232 B | application/x-sh | BashLexer
#!/usr/bin/env bash
DOTGIT=`git rev-parse --git-dir`
TOPLEVEL=`git rev-parse --show-toplevel`
TO=${DOTGIT}/hooks
FROM=${TOPLEVEL}/git-hooks
ln -s ${FROM}/post-checkout ${TO}/post-checkout
ln -s ${FROM}/post-merge ${TO}/post-merge