diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-12-13 08:08:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-13 12:37:14 -0800 |
commit | b38dd9e7151f118b989f8c9851bc38a8a8733eaf (patch) | |
tree | 442c629074f7e0231d18efde47d214697d021a37 /t/t5801 | |
parent | built-in add -p: coalesce hunks after splitting them (diff) | |
download | tgif-b38dd9e7151f118b989f8c9851bc38a8a8733eaf.tar.xz |
strbuf: add a helper function to call the editor "on an strbuf"
This helper supports the scenario where Git has a populated `strbuf` and
wants to let the user edit it interactively.
In `git add -p`, we will use this to allow interactive hunk editing: the
diff hunks are already in memory, but we need to write them out to a
file so that an editor can be launched, then read everything back once
the user is done editing.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5801')
0 files changed, 0 insertions, 0 deletions