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

[PATCH] run-command.h: fix mis-indented struct member

From
Jeff King <peff@peff.net>
Date
Feb 21, 2020, 02:56 UTC
Message-ID
<20200221025637.GA1277517@coredump.intra.peff.net>

An accidental conversion of a tab to 4 spaces snuck into 4c4066d95d (run-command: move doc to run-command.h, 2019-11-17), messing up the alignment when you have the project-recommended 8-width tabstops. Let's revert that line.

Signed-off-by: Jeff King <peff@peff.net>
---
 run-command.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run-command.h b/run-command.h
index 592d9dc035..0f3cc73ab6 100644
--- a/run-command.h
+++ b/run-command.h
@@ -116,7 +116,7 @@ struct child_process {
 	unsigned no_stdin:1;
 	unsigned no_stdout:1;
 	unsigned no_stderr:1;
-    unsigned git_cmd:1; /* if this is to be git sub-command */
+	unsigned git_cmd:1; /* if this is to be git sub-command */
 
 	/**
 	 * If the program cannot be found, the functions return -1 and set
-- 
2.25.1.795.gf56f34c505
Message 1 of 1 in “run-command.h: fix mis-indented struct member”
  1. run-command.h: fix mis-indented struct memberJeff King, Feb 21, 2020

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.