author | Junio C Hamano <gitster@pobox.com> | |
Sun, 23 Dec 2007 03:25:37 +0000 (19:25 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 23 Dec 2007 03:45:06 +0000 (19:45 -0800) | ||
commit | 4803466f62777fe3d0b33c8f999ec392f47a5b09 | |
tree | 4c2395c4ae84b0ec6c6c780c89c6cb89e5c2db50 | tree | snapshot |
parent | d616a2396456fdb6679efa0c0bee301aeb606ca8 | commit | diff |
builtin-commit: avoid double-negation in the code.
The flag no_edit meant "we have got final message from the user
and will not editing it any further", but there were quite a few
places that needed to check !no_edit. Rename the variable to
use_editor and reverse the logic everywhere.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The flag no_edit meant "we have got final message from the user
and will not editing it any further", but there were quite a few
places that needed to check !no_edit. Rename the variable to
use_editor and reverse the logic everywhere.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | diff | blob | history |