diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-09-30 13:19:27 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-30 13:19:27 +0900 |
commit | 8e111e487bbb939406655619e7ed241bd263d85c (patch) | |
tree | c54ee7a093f5bfb8ff582b232392ae126b8d2a96 /help.c | |
parent | 3ff6af7753287f2cac8261ae5184c3381373b836 (diff) | |
parent | 80e3658647561c4a8587978747752f6f63a96717 (diff) | |
download | git-8e111e487bbb939406655619e7ed241bd263d85c.tar.gz |
Merge branch 'rs/help-unknown-ref-does-not-return'
Code cleanup.
* rs/help-unknown-ref-does-not-return:
help: make help_unknown_ref() NORETURN
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -774,7 +774,8 @@ static struct string_list guess_refs(const char *ref) return similar_refs; } -void help_unknown_ref(const char *ref, const char *cmd, const char *error) +NORETURN void help_unknown_ref(const char *ref, const char *cmd, + const char *error) { int i; struct string_list suggested_refs = guess_refs(ref); |