5 ms·
I'd predict they have a plan to replace it with some GitHub-specific metadata. That would enhance lock-in and follow the usual Microsoft strategy.
by ColanR 4y ago
I'd predict they have a plan to replace it with some GitHub-specific metadata. That would enhance lock-in and follow the usual Microsoft strategy.
- donatj 4y agoCommit comments already are GitHub specific metadata.
- IggleSniggle 4y agoI see I wasn’t the only one to conflate “commit comment” with “commit message.” For a good 5 minutes I thought this was saying that GitHub would no longer show commit message content in the pull request timeline, which does seem like a crazy vendor lock-in scheme.
- kadoban 4y agoOh we're not talking about commit messages? Wtf are commit comments then?
- msbarnett 4y agoWhen you view a commit on GitHub, you can attach a comment to any given line of it. It looks basically like a comment left on a line of code in a PR, except tied to a commit instead of a PR.
- kadoban 4y agoOh. Thanks. If they're inside of PRs are they still commit comments? I'm thinking not, in which case maybe I never noticed those were a possibility.
- avar 4y agoA comment <-> PR is a many-many relationship. For a lot of workflows it's practically a one-to-one, as people would only comment on a commit starting from a PR, but you can just comment on any given commit you find. E.g. here's git.git's first commit, with a lot of random (mostly garbage) comments: https://github.com/git/git/commit/e83c5163316 https://github.com/git/git/commit/e83c5163316 That wasn't part of a PR (GitHub didn't even exist then), and if it was it could be a part of many different PRs. I really don't have a full overview of this GitHub change, but this general area is something other hosting providers have definitely struggled with. I.e. how and when to treat a PR/MR as some holistic vertical component, v.s. being mostly incidental metadata about a "push" (or "potential push"), with the commits (and any comments) being the important way to view or think about individual changes, and anything in-between.
- willsmythe 4y agoFYI. We updated the changelog post with more details about what actually changed (and what did not change): https://github.blog/changelog/2022-08-04-commit-comments-no-longer-appear-in-the-pull-request-timeline/ https://github.blog/changelog/2022-08-04-commit-comments-no-... You can still add comments to an individual commit and view them from various pages. However, comments added this way will no longer surface in the timeline(s) of pull request(s) that happen to include the commit. This does not change anything about pull request review comments, including review comments added when reviewing a pull request commit-by-commit.