diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-19 20:33:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-19 20:33:59 +0100 |
commit | 0c69a132cb1adf0ce9f31e6631f89321e437cb76 (patch) | |
tree | 96b88504e01e80a17c98d85d4f56e2025ddd548a /advice.c | |
parent | Merge branch 'sg/setup-doc-update' (diff) | |
parent | launch_editor(): indicate that Git waits for user input (diff) | |
download | git-0c69a132cb1adf0ce9f31e6631f89321e437cb76.tar.xz git-0c69a132cb1adf0ce9f31e6631f89321e437cb76.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } |