diff options
author | Jiamu Sun <barroit@linux.com> | 2024-03-14 04:00:16 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-16 09:31:42 -0700 |
commit | b3b57c69dad91382ccc36ebf5d668454607dd568 (patch) | |
tree | 914d1ba3fe6a355332abf8f4b9581ee5fd070aa2 /commit.c | |
parent | 3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0 (diff) |
bugreport.c: fix a crash in `git bugreport` with `--no-suffix` option
`git bugreport` does not complain when `--no-suffix` is given, but
it leads to a segmentation fault as the it is not prepared to see a
NULL assigned to the option_suffix variable.
Signed-off-by: Jiamu Sun <barroit@linux.com>
Acked-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions