vscode-git-graph
vscode-git-graph copied to clipboard
Add possibility to display git notes
As in the title, I would like to have an option to display notes (git log --notes
option in git) in Git Graph UI.
Hi @ppkwiatkowski,
Thank you for raising this feature request! (I’d never heard of Git notes before)
There are two main ways we could go about supporting notes in Git Graph:
- Display them in the Commit Details View, after the body of the commit on the left hand side.
- Indicate them on the commits in the table itself (similar to branches and tags), and (1). Right-clicking on the note would then allow a context menu of note actions (e.g. view, edit, and delete). Additionally, an “Add Note” action would also be added to the commit context menu. This would enable both the display and management of notes.
Although both options appear to meet your request, I think option 2 is probably the best approach for completeness.
Note to other users reading this: If you actively use Git notes and would like it to be supported in Git Graph, please like the first comment in this thread, so I can gauge community interest.
@mhutchie thanks for your answer!
For starter it would be cool to display them as described in 1. (this is how standard git log
works) if the GIT_NOTES_DISPLAY_REF
env variable or notes.displayRef
config setting is set. But having 2. would be even cooler.
Hi @mhutchie,
Do you have any plans for this feature?
It would be great to have it in Git Graph :D
@sinux-l5d @ppkwiatkowski I created this extension for using git notes
in vscode.