##// END OF EJS Templates
Simplify caching of modules from %run-ing scripts....
Simplify caching of modules from %run-ing scripts. Previously, we cleared and re-used a single FakeModule instance in which to run cells, and cached copies of the modules' namespaces to prevent them from being cleared. Now, we cache one FakeModule instance per script file, clearing it and re-using it if the same script is re-run. This seems more robust. Closes gh-3547
Thomas Kluyver -
r11207:279211b6
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