Skip to main content

remove_notes_for

Function remove_notes_for 

Source
pub fn remove_notes_for(
    git_dir: &Path,
    format: ObjectFormat,
    store: &FileRefStore,
    notes_ref: &NotesRef,
    annotated: &[ObjectId],
    message: &str,
    identity: &NotesCommitIdentity,
    ref_expected: Option<RefTarget>,
) -> Result<RemoveNoteOutcome>
Expand description

Remove notes for annotated in a single fast-forward commit when any are present. Returns RemoveNoteOutcome::Unchanged when the ref is absent or none of the oids have notes.