Re: [RFC/PATCH] commit notes workflow

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

 



On Mon, Mar 7, 2011 at 3:39 PM, Jeff King <peff@xxxxxxxx> wrote:
> Yeah, that's my biggest concern. I just really foresee myself getting
> annoyed by typing "--- nOtes ---", or "-- Notes ---". It's just a few
> characters shorter, but "---" is really less error prone.

git often puts comment lines lines (starting with '#') around the
commit message. How about just adding one more such comment:

# Lines after this one will be added as git notes

and make it so that any non-empty line entered afterwards does get
added as notes ?


Also, I would love to see this functionality in other places such as
rebasing (if the original commit has notes attached, I would like
these to show up so I can attach these to the rebased commit as well).
I realize not everybody would want that, but this could be easily
controlled with message hooks...

-- 
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
--
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]