-
-
Notifications
You must be signed in to change notification settings - Fork 942
Ignore all lines of subsequent hunks until last one is found #602
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
82b8902e033430000481eb355733cd7065342037 2 2 1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks a lot! I am ready to merge! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think there should be empty lines in the fixture. If it helps I generated the fixture with |
||
author Sebastian Thiel | ||
author-mail <byronimo@gmail.com> | ||
author-time 1270634931 | ||
author-tz +0200 | ||
committer Sebastian Thiel | ||
committer-mail <byronimo@gmail.com> | ||
committer-time 1270634931 | ||
committer-tz +0200 | ||
summary Used this release for a first beta of the 0.2 branch of development | ||
previous 501bf602abea7d21c3dbb409b435976e92033145 AUTHORS | ||
filename AUTHORS | ||
82b8902e033430000481eb355733cd7065342037 14 14 1 | ||
previous 501bf602abea7d21c3dbb409b435976e92033145 AUTHORS | ||
filename AUTHORS | ||
c76852d0bff115720af3f27acdb084c59361e5f6 1 1 1 | ||
author Michael Trier | ||
author-mail <mtrier@gmail.com> | ||
author-time 1232829627 | ||
author-tz -0500 | ||
committer Michael Trier | ||
committer-mail <mtrier@gmail.com> | ||
committer-time 1232829627 | ||
committer-tz -0500 | ||
summary Lots of spring cleaning and added in Sphinx documentation. | ||
previous bcd57e349c08bd7f076f8d6d2f39b702015358c1 AUTHORS | ||
filename AUTHORS | ||
c76852d0bff115720af3f27acdb084c59361e5f6 2 3 11 | ||
previous bcd57e349c08bd7f076f8d6d2f39b702015358c1 AUTHORS | ||
filename AUTHORS | ||
c76852d0bff115720af3f27acdb084c59361e5f6 13 15 2 | ||
previous bcd57e349c08bd7f076f8d6d2f39b702015358c1 AUTHORS | ||
filename AUTHORS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this loops break-condition is not clearly defined just now.
Do you think 'end-of-stream' could be another one?
What do you think of something like this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a comment in 77b20be to be more explicit about an unexpected EOF condition. With a for loop we'd need to raise that exception ourselves in an
else
block so I think the while loop works better here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see now! I didn't know that
next
throws - iterators do that, right. Have been doing Rust for too long ;).