diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2020-04-16 23:18:04 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-17 00:23:42 +0200 |
commit | 238b439d69890980dafc5154895d425cb4cf4a5e (patch) | |
tree | 4bf50e1db113ca4d5a2f1f0ebd003e294da76aba /strbuf.h | |
parent | help: move list_config_help to builtin/help (diff) | |
download | git-238b439d69890980dafc5154895d425cb4cf4a5e.tar.xz git-238b439d69890980dafc5154895d425cb4cf4a5e.zip |
bugreport: add tool to generate debugging info
Teach Git how to prompt the user for a good bug report: reproduction
steps, expected behavior, and actual behavior. Later, Git can learn how
to collect some diagnostic information from the repository.
If users can send us a well-written bug report which contains diagnostic
information we would otherwise need to ask the user for, we can reduce
the number of question-and-answer round trips between the reporter and
the Git contributor.
Users may also wish to send a report like this to their local "Git
expert" if they have put their repository into a state they are confused
by.
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -450,6 +450,7 @@ int strbuf_readlink(struct strbuf *sb, const char *path, size_t hint); * NUL bytes. */ ssize_t strbuf_write(struct strbuf *sb, FILE *stream); +ssize_t strbuf_write_fd(struct strbuf *sb, int fd); /** * Read a line from a FILE *, overwriting the existing contents of |