-
-
Notifications
You must be signed in to change notification settings - Fork 933
git pull
output has changed in git 1.8.5
#142
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
Comments
These errors first appeared when I upgraded to git 1.8.5. I’m not sure what the previous version of git was, but I got it via XCode on Mavericks. |
Addresses git version incompatibilities, more detail: * gitpython-developers/GitPython#142 * gitpython-developers/GitPython#143
This particular bug is driving me up the wall. If anybody's got a working fix it would be greatly appreciated. |
Fix for #142. Simply ignores lines that begin with ' ='
+1, works with git version 2.0.0 on linux. Thanks! |
I believe the fix is already included in the latest release of git-python. Please reopen this issue or comment if not the case. |
I am using GitPython 0.3.5 and git 1.8.3.4 and this is broken for me. The length of the first thing it's comparing is 812 elements and the second is 811 elements. I don't necessarily want to attach a gigantic list of branch names here but what is the best way to debug this? |
The reason it may appear broken is that in git-python 0.3.5, the assertion was re-added in a slightly different form. It's meant to prevent Fetch-information to be truncated, which is what would have happened in git-versions prior to that. I would be glad if you could help me to reproduce this issue - either by providing me with steps to do it myself or by getting access to the data involved. The latter would be each line in In the meanwhile, to solve your problem, probably even without causing side-effects, you can just remove the assertion in your code, or switch back to git-python 0.3.4. Please note that I am somewhat hesitant to reopen this issue, as yours is not exactly the same. In case you want to provide the requested information, you could do so in a new issue. Thank you |
I wrote a script to parse the two things that it is trying to compare. FETCH_HEAD right now has 813 lines. The output of git fetch, when I run it manually on the command line (I have not been able to figure out exactly what command it is running, but I'm assuming it's However, the very last branch in FETCH_HEAD is missing in the GitPython fetch output, in my case it is this line:
It can't find the matching line in the fetch output:
Even though I see the above line when I do BTW I was using GitPython==0.3.2.RC1 prior to this and it was still failing an assertion, although I'm not sure the assertion was exactly the same. Do you think 0.3.4 will fix this temporarily? |
I put the above information in a new issue: #232 |
I’m seeing new errors resulting from changes to git 1.8.5 output, in remote.py line 539 and 605. Looks connected to issues #133 and #138:
The outputs being compared:
…and:
The text was updated successfully, but these errors were encountered: