sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Feature request: add ability to view/add/edit "git notes" #1833

Open RobBednark opened 8 months ago

RobBednark commented 8 months ago

Problem description

git notes are not supported in Sublime Merge (not visible in the history if they already exist; cannot add/edit notes)

Preferred solution

Minimally, show any notes that already exist. It would be nice to be able to add and edit notes, too.

git notes documentation:

NAME git-notes - Add or inspect object notes

SYNOPSIS git notes [list []] git notes add [-f] [--allow-empty] [-F | -m | (-c | -C) ] [] git notes copy [-f] ( --stdin | [] ) git notes append [--allow-empty] [-F | -m | (-c | -C) ] [] git notes edit [--allow-empty] [] git notes show [] git notes merge [-v | -q] [-s ] git notes merge --commit [-v | -q] git notes merge --abort [-v | -q] git notes remove [--ignore-missing] [--stdin] [...] git notes prune [-n] [-v] git notes get-ref

DESCRIPTION Adds, removes, or reads notes attached to objects, without touching the objects themselves.

   By default, notes are saved to and read from refs/notes/commits, but this default can be overridden. See the
   OPTIONS, CONFIGURATION, and ENVIRONMENT sections below. If this ref does not exist, it will be quietly created
   when it is first needed to store a note.

   A typical use of notes is to supplement a commit message without changing the commit itself. Notes can be shown
   by git log along with the original commit message. To distinguish these notes from the message stored in the
   commit object, the notes are indented like the message, after an unindented line saying "Notes (<refname>):" (or
   "Notes:" for refs/notes/commits).

Screenshots

Screenshot 2023-11-01 at 4 10 16 PM Screenshot 2023-11-01 at 4 11 22 PM
themilkman commented 8 months ago

Duplicates #560 (but with more details :) )