summaryrefslogtreecommitdiff
path: root/exec_cmd.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-12-22 19:25:37 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-12-22 19:45:06 -0800
commit4803466f62777fe3d0b33c8f999ec392f47a5b09 (patch)
tree4c2395c4ae84b0ec6c6c780c89c6cb89e5c2db50 /exec_cmd.c
parentbuiltin-commit: fix amending of the initial commit (diff)
downloadtgif-4803466f62777fe3d0b33c8f999ec392f47a5b09.tar.xz
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 'exec_cmd.c')
0 files changed, 0 insertions, 0 deletions