##// END OF EJS Templates
adjust strip_prompts logic a bit further...
adjust strip_prompts logic a bit further - initial-only prompt is only stripped from the first line (only change from master) - any prompt is stripped from the second line - if a prompt is found in the first two lines, strip from the rest of the block
MinRK -
r12309:01ea6c6b
Show More
Name Size Modified Last Commit Author
/ git-hooks
README.md Loading ...
post-checkout Loading ...
post-merge Loading ...

git hooks for IPython

add these to your .git/hooks

For now, we just have post-checkout and post-merge,
both of which just update submodules,
so make sure that you have a fully synced repo whenever you checkout or pull.

To use these hooks, you can symlink or copy them to your .git/hooks directory.

ln -s ../../git-hooks/post-checkout .git/hooks/post-checkout
ln -s ../../git-hooks/post-merge .git/hooks/post-merge