This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to list revisions with notes
This method uses git notes list to get all notes for a given note ref. We then turn the list into an array and take the second field from the results (which corresponds to the object reference - the commit id in our case). Finally, the result is placed in a map to make it easier to do "if note is in" type queries later.
- Loading branch information
1 parent
3445aa5
commit 7e70eec
Showing
2 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters