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

[PATCH] git.c: Remove unnecessary new line

From
Michael Fallows <michael@fallo.ws>
Date
Mar 9, 2013, 22:13 UTC
Message-ID
<513BB403.2080103@fallo.ws>
New line on checkout-index is inconsistent with the rest of the commands
Signed-off-by: Michael Fallows <michael@fallo.ws>
---
  git.c |    3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/git.c b/git.c
index b10c18b..b4d7bbb 100644
--- a/git.c
+++ b/git.c
@@ -316,8 +316,7 @@ static void handle_internal_command(int argc, const 
char **argv)
  		{ "check-ignore", cmd_check_ignore, RUN_SETUP | NEED_WORK_TREE },
  		{ "check-ref-format", cmd_check_ref_format },
  		{ "checkout", cmd_checkout, RUN_SETUP | NEED_WORK_TREE },
-		{ "checkout-index", cmd_checkout_index,
-			RUN_SETUP | NEED_WORK_TREE},
+		{ "checkout-index", cmd_checkout_index, RUN_SETUP | NEED_WORK_TREE },
  		{ "cherry", cmd_cherry, RUN_SETUP },
  		{ "cherry-pick", cmd_cherry_pick, RUN_SETUP | NEED_WORK_TREE },
  		{ "clean", cmd_clean, RUN_SETUP | NEED_WORK_TREE },
-- 
1.7.9.5
Message 1 of 1 in “git.c: Remove unnecessary new line”
  1. git.c: Remove unnecessary new lineMichael Fallows, Mar 9, 2013

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.