Skip to content

Add support for git notes #915

@JakobDev

Description

@JakobDev

It would be really nice, if support for git notes would be added. See this Blog post for an explanation.

You should add the functions GetNote(), SetNote(text) and RemoveNote() to a Commit.

Git notes are technically just files in the notes/commits ref. Try it yourself:

git init
git add --all
git commit --allow-empty -m "Test"
git notes add -m "This is a Note"
git checkout notes/commits

You should now see a file named after your commit which contains the Note.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededno-autocloseIssues/PRs to be ignored by stale bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy