git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] protocol-caps.h: add newline at end of file

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jun 7, 2021, 14:33 UTC
Message-ID
<patch-1.1-2302c9d522-20210607T143157Z-avarab@gmail.com>
In-Reply-To
<20210420233830.2181153-1-bga@google.com>

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(-)
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 */
-- 
2.32.0.rc3.434.gd8aed1f08a7
Previous: Junio C HamanoNext: Bruno Albuquerque
Message 4 of 5 in “object-info: support for retrieving object info”
  1. object-info: support for retrieving object infoBruno Albuquerque, Apr 20, 2021
  2. Junio C HamanoApr 21, 2021
  3. Junio C HamanoApr 30, 2021
  4. protocol-caps.h: add newline at end of fileÆvar Arnfjörð Bjarmason, Jun 7, 2021
  5. Bruno AlbuquerqueJun 9, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.