-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Git submodule support #577
Conversation
oh, this only works with git > 1.7.3, because i used
|
huh. i can't reproduce the errors in non-2.5 versions. is the build server running a current-ish version of git? older versions seem to abuse stderr a little more than current ones: anyway, it looks like this is an issue with pip install not adding -q to git the git commands. not related to this pull request … |
This is looking good, thanks for working on it! I think the Also, we need to address the failure of this test on Travis - is it passing for you locally? It looks like a simple case of needing to add |
…ct errors in pip install because old versions of git write senseless things to stderr
@carljm you're right in both cases, i changed the tests to reflect that feedback. can we ping @travisbot to re-test this manually? |
Looks good! I guess the comment is kind of off, it's stderr output from git that's the problem, not stdout. But anyway, travis should retest this soon automatically since you pushed to it, I'll just wait for it. |
Hey, I just installed pip master, and my submodules don't update recursively. I managed to get it to work by changing: Any reason why you're not running the second option? is there something I'm missing? |
@bergundy no reason I know of, seems like both should work though, do you know why the two-line version isn't working for you? |
I don't know exactly why, but without it, I get the following error. I tried running the git commands myself and they don't work recursively. On Thu, Sep 13, 2012 at 2:53 AM, Carl Meyer notifications@github.comwrote:
|
Hmm, I guess maybe the init isn't happening in the second-level submodule. Feel free to submit a pull request to switch to the one-line version. |
submitted #674 |
It doesn't work, and apparently already fixed by pypa/pip#577.
It doesn't work, and apparently already fixed by pypa/pip#577.
This extends #545 with tests, as promised. Thanks @lepture for the actual implementation (which I did not touch).