Re: [PATCHv12 00/23] git notes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 27, 2010, 20:00 UTC
- Message-ID
- <7vzl3zpbbz.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1264593120-4428-1-git-send-email-johan@herland.net>
Johan Herland <johan@herland.net> writes:
> - Patch #23 is a new patch adding the "git notes add" command for appending > contents to notes (instead of editing/replacing).
I find this even more confusing. Originally I was puzzled by the lack of "git notes add"; it took me for quite until I managed to figure out that "git notes edit" was the command to use, even if I wanted to add notes to a commit that I know that does not have any.
I would expect "git notes edit" to be "edit starting from the existing one (if exists)", and "git notes add" to be "add notes to a commit that lacks one, complain if it already has notes, and allow --force to replace".