aboutsummaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-22 19:25:37 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-22 19:45:06 -0800
commit4803466f62777fe3d0b33c8f999ec392f47a5b09 (patch)
tree4c2395c4ae84b0ec6c6c780c89c6cb89e5c2db50 /path.c
parentd616a2396456fdb6679efa0c0bee301aeb606ca8 (diff)
downloadgit-4803466f62777fe3d0b33c8f999ec392f47a5b09.tar.gz
git-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 'path.c')
0 files changed, 0 insertions, 0 deletions