diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-01-14 18:43:47 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-01-15 12:06:17 -0800 |
| commit | 94ac3c31f730ab278e1373a942fb4503829f4279 (patch) | |
| tree | b26aa319bee4b334f31c958083e0f7d353adefa9 /add-interactive.c | |
| parent | built-in add -p: handle diff.algorithm (diff) | |
| download | git-94ac3c31f730ab278e1373a942fb4503829f4279.tar.gz git-94ac3c31f730ab278e1373a942fb4503829f4279.zip | |
terminal: make the code of disable_echo() reusable
We are about to introduce the function `enable_non_canonical()`, which
shares almost the complete code with `disable_echo()`.
Let's prepare for that, by refactoring out that shared code.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'add-interactive.c')
0 files changed, 0 insertions, 0 deletions
