summaryrefslogtreecommitdiff
path: root/advice.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-19 19:33:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-19 19:33:59 (GMT)
commit0c69a132cb1adf0ce9f31e6631f89321e437cb76 (patch)
tree96b88504e01e80a17c98d85d4f56e2025ddd548a /advice.c
parentbdae4af87053490adad2dc9fb184d6d050d46a4c (diff)
parentabfb04d0c74cde804c734015ff5868a88c84fb6f (diff)
downloadgit-0c69a132cb1adf0ce9f31e6631f89321e437cb76.zip
git-0c69a132cb1adf0ce9f31e6631f89321e437cb76.tar.gz
git-0c69a132cb1adf0ce9f31e6631f89321e437cb76.tar.bz2
Merge branch 'ls/editor-waiting-message'
Git shows a message to tell the user that it is waiting for the user to finish editing when spawning an editor, in case the editor opens to a hidden window or somewhere obscure and the user gets lost. * ls/editor-waiting-message: launch_editor(): indicate that Git waits for user input refactor "dumb" terminal determination
Diffstat (limited to 'advice.c')
-rw-r--r--advice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/advice.c b/advice.c
index c6169bc..406efc1 100644
--- a/advice.c
+++ b/advice.c
@@ -18,6 +18,7 @@ int advice_object_name_warning = 1;
int advice_rm_hints = 1;
int advice_add_embedded_repo = 1;
int advice_ignored_hook = 1;
+int advice_waiting_for_editor = 1;
static struct {
const char *name;
@@ -40,6 +41,7 @@ static struct {
{ "rmhints", &advice_rm_hints },
{ "addembeddedrepo", &advice_add_embedded_repo },
{ "ignoredhook", &advice_ignored_hook },
+ { "waitingforeditor", &advice_waiting_for_editor },
/* make this an alias for backward compatibility */
{ "pushnonfastforward", &advice_push_update_rejected }