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

[PATCH 1/3] wt-status.c: make cut_lines[] const to shrink .data section a bit

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Feb 16, 2014, 03:37 UTC
Message-ID
<1392521840-21628-2-git-send-email-pclouds@gmail.com>
In-Reply-To
<1392521840-21628-1-git-send-email-pclouds@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 wt-status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index 4e55810..65e35c3 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -17,7 +17,7 @@
 #include "strbuf.h"
 #include "utf8.h"
 
-static char cut_line[] =
+static const char cut_line[] =
 "------------------------ >8 ------------------------\n";
 
 static char default_wt_status_colors[][COLOR_MAXLEN] = {
-- 
1.8.5.2.240.g8478abd
Previous: Nguyễn Thái Ngọc DuyNext: brian m. carlson
Message 2 of 14 in “commit --cleanup=<scissors marker>”
  1. 0/3 commit --cleanup=<scissors marker>Nguyễn Thái Ngọc Duy, Feb 16, 2014
  2. 1/3 wt-status.c: make cut_lines[] const to shrink .data section a bitNguyễn Thái Ngọc Duy, Feb 16, 2014
  3. brian m. carlsonFeb 16, 2014
  4. 2/3 wt-status.c: move cut-line print code out to wt_status_add_cut_lineNguyễn Thái Ngọc Duy, Feb 16, 2014
  5. 3/3 commit: add --cleanup=scissorsNguyễn Thái Ngọc Duy, Feb 16, 2014
  6. Eric SunshineFeb 16, 2014
  7. 0/3 commit --cleanup=<scissors marker>Nguyễn Thái Ngọc Duy, Feb 17, 2014
  8. 1/3 wt-status.c: make cut_line[] const to shrink .data section a bitNguyễn Thái Ngọc Duy, Feb 17, 2014
  9. 2/3 wt-status.c: move cut-line print code out to wt_status_add_cut_lineNguyễn Thái Ngọc Duy, Feb 17, 2014
  10. 3/3 commit: add --cleanup=scissorsNguyễn Thái Ngọc Duy, Feb 17, 2014
  11. Duy NguyenFeb 22, 2014
  12. Junio C HamanoFeb 24, 2014
  13. Duy NguyenFeb 24, 2014
  14. Junio C HamanoFeb 25, 2014

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.