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

Re: [PATCH] Document 'git commit --no-edit' explicitly

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:55:10

nisse@lysator.liu.se (Niels Möller) writes:
Matthieu Moy [off-list ref] writes:
quoted
+--no-edit::
+	Use the selected commit message without launching an editor.
+	For example, `git commit --amend --no-edit` amends a commit
+	without changing its commit message.
Looks clear enough to me. Thanks for fixing.

Are -c --no-edit and -C really equivalent in all cases?
I guess so, but I didn't check.
If so, maybe you want to say that in the documentation for -C.
I don't think we should target exhaustivity in the documentation, so I'm
not in favor of *adding* it. But maybe we should replace the doc with
stg like:

-c <commit>::
--reedit-message=<commit>::
	Like '-C --edit'.

(it could even make sense to deprecate one of -C/-c)

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help