3 ms·
If you're working within git, maybe `git notes` fit your use case? You can basically attach notes to various Git objects, without changing the objects themselve
by diggan 2y ago
If you're working within git, maybe `git notes` fit your use case? You can basically attach notes to various Git objects, without changing the objects themselves.
https://git-scm.com/docs/git-notes https://git-scm.com/docs/git-notes
- esafak 2y agoIs this what GitHub reviews use?
- jwilk 2y agoNo, they're unrelated.
- ninkendo 2y agoBut wouldn’t it be nice if they were stored in git notes? It’ll never happen for a commercial git hosting product, because they want it to be hard to leave their service (you lose your PR review comment history), and storing them in git makes it too easy to migrate all your history to a competitor. Building an open source code review system using git notes would be great though.
- cpach 2y agoIt’s an interesting option, but AFAICT, it can only be used to add a note to a commit. So the note might not be that close to a particular function/variable/etc.