Often people saying that we can't discus easily about existing code because the discus functionality on code is present in commits only.
But the solution is built-in the statement. Every code is updated with the help of commits - also the first creation step. If we can find the right commit - we are able to start a discussion over existing code that probably exists since a long time.
Here are one possible behavior:
- enter the repository on the github.com website
- surf to the file or use the shortcut
t
to filter by file names (?
to finding more keyboard shortcuts) - click the button
blame
- searching the source code line and click on the linked commit on the left side
- hover the same line number and click on the blue discus icon on the left side or start a wider context on the bottom of the whole source code
The author of the commit will be notified automatically. If you want more attention you can mentions (@...) user names or user groups like all owners.