Re: [PATCHv12 00/23] git notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johan Herland <johan@xxxxxxxxxxx> 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".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]