diff options
author | Jeff King <peff@peff.net> | 2015-05-12 21:21:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-12 20:25:08 -0700 |
commit | cb64800d83ace6fecb8701151cfdb6ed0712702c (patch) | |
tree | 230d77a33004a6cbf1417f99025cd04546c694e2 /progress.c | |
parent | 282616c72d1d08a77ca4fe1186cb708c38408d87 (diff) | |
download | git-cb64800d83ace6fecb8701151cfdb6ed0712702c.tar.gz |
add: check return value of launch_editorjk/add-e-kill-editor
When running "add -e", if launching the editor fails, we do
not notice and continue as if the output is what the user
asked for. The likely case is that the editor did not touch
the contents at all, and we end up adding everything.
Reported-by: Russ Cox <rsc@golang.org>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'progress.c')
0 files changed, 0 insertions, 0 deletions