Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] wt-status: show author info if status.showauthor is set

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:02

Jeff King [off-list ref] writes:
Signed-off-by: Jeff King <redacted>
---
On Wed, Apr 04, 2007 at 09:02:13AM +0300, Michael S. Tsirkin wrote:
quoted
- Maybe put Author: (or From:? and maybe Subject:?) line in the pre-formatted
  commit message, and let the user edit them?
Personally I think it's just clutter, but hey, it's off by default. Of
course what is the chance that you've turned on status.showauthor in
your ~/.gitconfig, but you don't have your identity set up properly? :)

Junio, this is somewhat tongue in cheek, but if people like it, please
take it.
It may be t-i-c, but on the other hand it might make sense to
make git-commit take notice and use it.

If we were to go that route, I suspect it should not be of form
"# author: Who AmI [off-list ref]".

Maybe the updated git-commit commit log message rule could be:

 * If the lines in the first paragraph all begin with "From: ",
   or "Date: " (you do not have to override all of them), they
   are used to override authorship information;

 * If this feature is used, "Subject: " should be among the
   lines in the first paragraph for consistency.

 * Otherwise we will continue doing what we always have been
   doing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help