diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-12-23 04:25:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-23 04:45:06 +0100 |
commit | 4803466f62777fe3d0b33c8f999ec392f47a5b09 (patch) | |
tree | 4c2395c4ae84b0ec6c6c780c89c6cb89e5c2db50 /t/t7502-commit.sh | |
parent | builtin-commit: fix amending of the initial commit (diff) | |
download | git-4803466f62777fe3d0b33c8f999ec392f47a5b09.tar.xz git-4803466f62777fe3d0b33c8f999ec392f47a5b09.zip |
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>
Diffstat (limited to 't/t7502-commit.sh')
0 files changed, 0 insertions, 0 deletions