Message ID | patch-1.1-2302c9d522-20210607T143157Z-avarab@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d94f9b8e9049177d4148b57ecf5f44bfdcc4648d |
Headers | show |
Series | protocol-caps.h: add newline at end of file | expand |
On Mon, Jun 7, 2021 at 7:33 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote: > > Add a trailing newline to the protocol-caps.h file added in the recent > a2ba162cda (object-info: support for retrieving object info, > 2021-04-20). Various editors add this implicitly, and some compilers > warn about the lack of a \n here. Thanks for cleaning this up.
diff --git a/protocol-caps.h b/protocol-caps.h index 6351648e37..0a9f49df11 100644 --- a/protocol-caps.h +++ b/protocol-caps.h @@ -7,4 +7,4 @@ struct packet_reader; int cap_object_info(struct repository *r, struct strvec *keys, struct packet_reader *request); -#endif /* PROTOCOL_CAPS_H */ \ No newline at end of file +#endif /* PROTOCOL_CAPS_H */
Add a trailing newline to the protocol-caps.h file added in the recent a2ba162cda (object-info: support for retrieving object info, 2021-04-20). Various editors add this implicitly, and some compilers warn about the lack of a \n here. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- protocol-caps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)