builtin-commit: avoid double-negation in the code.
commit4803466f62777fe3d0b33c8f999ec392f47a5b09
authorJunio C Hamano <gitster@pobox.com>
Sun, 23 Dec 2007 03:25:37 +0000 (22 19:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 23 Dec 2007 03:45:06 +0000 (22 19:45 -0800)
tree4c2395c4ae84b0ec6c6c780c89c6cb89e5c2db50
parentd616a2396456fdb6679efa0c0bee301aeb606ca8
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>
builtin-commit.c