Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention git hooks in install documentation #5647

Merged
merged 3 commits into from Apr 19, 2014
Merged

Conversation

koldunovn
Copy link
Contributor

This addition is done to avoid problems similar to #5355

@minrk
Copy link
Member

minrk commented Apr 17, 2014

I think this statement is too strong. You do not have to copy the git hooks, and it's perfectly reasonable not to. It's just a convenient way to check out submodules. For instance, if you are working on the submodules, the git hooks can get pretty annoying.

@koldunovn
Copy link
Contributor Author

@minrk I add instead sentence from the bottom of the main README.md file. Hope now it's more clear.

$ python setup.py submodule

Another option is to copy `git hooks <https://github.com/ipython/ipython/tree/master/git-hooks>`_
to your ``./git`` directory to ensure that your submodules are up to date on each pull.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to your .git/hooks/ ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Carreau Yes, sure. Will fix it, thanks!


Another option is to copy `git hooks <https://github.com/ipython/ipython/tree/master/git-hooks>`_
to your ``./git/hooks/`` directory to ensure that your submodules are up to date on each pull.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prompted by #5587 there seem to be git-hoooks/install-hooks.sh do you want to mention it too ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Carreau It's convenient, but not really necessary (simple copying will do the same). There is already quite a lot of details in this section, so I wouldn't add more.

@Carreau
Copy link
Member

Carreau commented Apr 17, 2014

Fair enough. +1 for me.

Carreau added a commit that referenced this pull request Apr 19, 2014
Mention git hooks in install documentation
@Carreau Carreau merged commit 01ac428 into ipython:master Apr 19, 2014
@Carreau
Copy link
Member

Carreau commented Apr 19, 2014

Thanks !

@minrk minrk added this to the 2.1 milestone Apr 19, 2014
takluyver added a commit that referenced this pull request May 7, 2014
This addition is done to avoid problems similar to #5355
takluyver added a commit that referenced this pull request May 7, 2014
This addition is done to avoid problems similar to #5355
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Mention git hooks in install documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants