threads / patch / 33142

patchgit.c: Remove unnecessary new line

Subject: [PATCH] git.c: Remove unnecessary new line

## tl;dr

One message between Mar 9, 2013 and Mar 9, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Michael Fallows· Mar 9, 2013, 21:48 UTC · lore
>From 8750dc231a2b973efa18aff4dbc5b2ace7c79c47 Mon Sep 17 00:00:00 2001
From: Michael Fallows <michael@fallo.ws>
Date: Sat, 9 Mar 2013 21:47:11 +0000
Subject: [PATCH] git.c: Remove unnecessary new line
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(-)
Show changes to git.c +1 −2
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

← back to recent threads