Title: revwalk produces incorrect results with GIT_SORT_TIME · Issue #4099 · libgit2/libgit2 · GitHub
Open Graph Title: revwalk produces incorrect results with GIT_SORT_TIME · Issue #4099 · libgit2/libgit2
X Title: revwalk produces incorrect results with GIT_SORT_TIME · Issue #4099 · libgit2/libgit2
Description: I reported this issue in rugged repo - libgit2/rugged#673. It includes an example in Ruby which may be helpful. I believe that this issue is caused by libgit2 and that it is a regression. Reproduction steps Given a repository: * commit C...
Open Graph Description: I reported this issue in rugged repo - libgit2/rugged#673. It includes an example in Ruby which may be helpful. I believe that this issue is caused by libgit2 and that it is a regression. Reproduct...
X Description: I reported this issue in rugged repo - libgit2/rugged#673. It includes an example in Ruby which may be helpful. I believe that this issue is caused by libgit2 and that it is a regression. Reproduct...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4099
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"revwalk produces incorrect results with GIT_SORT_TIME","articleBody":"I reported this issue in `rugged` repo - https://github.com/libgit2/rugged/issues/673. It includes an example in Ruby which may be helpful. I believe that this issue is caused by `libgit2` and that it is a regression.\r\n\r\n### Reproduction steps\r\n\r\nGiven a repository:\r\n\r\n```\r\n* commit C (HEAD)\r\n|\r\n* commit B\r\n|\r\n* commit A\r\n```\r\n\r\nwalk from A, hiding C, using `GIT_SORT_TIME` order. See #4100 for a failing test case.\r\n\r\n### Expected behavior\r\n\r\n0 commits returned\r\n\r\n### Actual behavior\r\n\r\n1 commit returned (commit A).\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n\r\ndad3c319d76f58bc600b53650723d0d3cc9e6feb\r\n\r\n### Operating system(s) tested\r\n\r\nmacOS 10.12.2\r\n","author":{"url":"https://github.com/adamniedzielski","@type":"Person","name":"adamniedzielski"},"datePublished":"2017-01-30T12:41:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/4099/libgit2/issues/4099"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a299d532-2d6e-d5bb-81a0-cbe49e8beccf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F6E:304506:DCCA75:124F6D4:6A5EE3EA |
| html-safe-nonce | cde1f718ed0afa9e1afa02759d48dd8cb1b0fda050e09adfd7692055bb996f51 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZFOjMwNDUwNjpEQ0NBNzU6MTI0RjZENDo2QTVFRTNFQSIsInZpc2l0b3JfaWQiOiI5MjI0MDU0OTA4OTU2NzcyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e008821bd206285d236bfb16fc366654f49d56746f3ba56a3fdb6ba23ef46ead |
| hovercard-subject-tag | issue:204000125 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2/4099/issue_layout |
| twitter:image | https://opengraph.githubassets.com/930eea516a70708fcb82dfc08e262609aafb820d75c3c80771f4566011d3d8a9/libgit2/libgit2/issues/4099 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/930eea516a70708fcb82dfc08e262609aafb820d75c3c80771f4566011d3d8a9/libgit2/libgit2/issues/4099 |
| og:image:alt | I reported this issue in rugged repo - libgit2/rugged#673. It includes an example in Ruby which may be helpful. I believe that this issue is caused by libgit2 and that it is a regression. Reproduct... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adamniedzielski |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width