Title: reflog doesn't include "(merge)" for merge commits · Issue #4094 · libgit2/libgit2 · GitHub
Open Graph Title: reflog doesn't include "(merge)" for merge commits · Issue #4094 · libgit2/libgit2
X Title: reflog doesn't include "(merge)" for merge commits · Issue #4094 · libgit2/libgit2
Description: When you use the command line, merge commits will have commit (merge): recorded in the reflog as a reminder that a merge commit was created. libgit2 doesn't do this though. It only handles the simple commit: case and the first commit (in...
Open Graph Description: When you use the command line, merge commits will have commit (merge): recorded in the reflog as a reminder that a merge commit was created. libgit2 doesn't do this though. It only handles the simp...
X Description: When you use the command line, merge commits will have commit (merge): recorded in the reflog as a reminder that a merge commit was created. libgit2 doesn't do this though. It only handles the ...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4094
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"reflog doesn't include \"(merge)\" for merge commits","articleBody":"When you use the command line, merge commits will have `commit (merge):` recorded in the reflog as a reminder that a merge commit was created. libgit2 doesn't do this though. It only handles the simple `commit:` case and the first `commit (initial):` case.\r\n\r\n### Reproduction steps\r\n1. Create a merge commit using libgit2's APIs.\r\n2. Check the output of `git reflog`.\r\n### Expected behavior\r\n`cf97c9d HEAD@{0}: commit (merge): Merge branch 'other'`\r\n### Actual behavior\r\n`d50f21e HEAD@{0}: commit: Merge branch 'other'`\r\n### Version of libgit2 (release number or SHA1)\r\nLooks like the code is still the same on 8d3b39a6ad325fe1d08e17281803e26359756fc6.\r\nhttps://github.com/libgit2/libgit2/blob/8d3b39a6ad325fe1d08e17281803e26359756fc6/src/refs.c#L1148-L1153\r\n### Operating system(s) tested\r\nWindows 10","author":{"url":"https://github.com/rcjsuen","@type":"Person","name":"rcjsuen"},"datePublished":"2017-01-26T09:50:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4094/libgit2/issues/4094"}
| 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:144f0c7f-1c22-e0d2-5ed4-3b4df340e5a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF2A:26FD39:6DF739B:975B63F:6A5EA39C |
| html-safe-nonce | 9eecc48640c10de35d40b3a8da600da7802d68ba3abcec0283057104067ba759 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjJBOjI2RkQzOTo2REY3MzlCOjk3NUI2M0Y6NkE1RUEzOUMiLCJ2aXNpdG9yX2lkIjoiMTMxNDI4NjI5NTYyMTcyMzE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 221de759c08c14dab3066801fe70cc3b3906c420856577e328a82a863da77dff |
| hovercard-subject-tag | issue:203329776 |
| 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/4094/issue_layout |
| twitter:image | https://opengraph.githubassets.com/983f6bf05734a76dd3043fd39ce1c643c848d48ae4ba95cbbe10e7531d4557ab/libgit2/libgit2/issues/4094 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/983f6bf05734a76dd3043fd39ce1c643c848d48ae4ba95cbbe10e7531d4557ab/libgit2/libgit2/issues/4094 |
| og:image:alt | When you use the command line, merge commits will have commit (merge): recorded in the reflog as a reminder that a merge commit was created. libgit2 doesn't do this though. It only handles the simp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcjsuen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d |
| 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 | 2d2ac9bdd71d5f53f2b731c9330677e38624e301 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width