Skip to contentSkip to conversation

git.c: Remove unnecessary new line

PATCH New Michael Fallows 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git.c: Remove unnecessary new line

Quoted 1 line

From 8750dc231a2b973efa18aff4dbc5b2ace7c79c47 Mon Sep 17 00:00:00 2001

From: Michael Fallows <[email protected]>
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

---
 git.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
git.c +1 -2
index b10c18b..b4d7bbb 100644
@@ -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 },
Signature · 1 line
1.7.9.5