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

[PATCH 2/2] clone: Realign lines near disassociate option

From
Matt Whiteley <mattwhiteley@gmail.com>
Date
Feb 20, 2015, 19:10 UTC
Message-ID
<1424459423-11727-3-git-send-email-mattwhiteley@gmail.com>
In-Reply-To
<1424459423-11727-1-git-send-email-mattwhiteley@gmail.com>
Fix long line splitting format while adding to builtin_clone_options.
Signed-off-by: Matt Whiteley <mattwhiteley@gmail.com>
---
 builtin/clone.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/builtin/clone.c b/builtin/clone.c
index 7e193ae..fd6bcf4 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -72,15 +72,15 @@ static struct option builtin_clone_options[] = {
 	OPT_BOOL(0, "mirror", &option_mirror,
 		 N_("create a mirror repository (implies bare)")),
 	OPT_BOOL('l', "local", &option_local,
-		N_("to clone from a local repository")),
+		 N_("to clone from a local repository")),
 	OPT_BOOL(0, "no-hardlinks", &option_no_hardlinks,
-		    N_("don't use local hardlinks, always copy")),
+		 N_("don't use local hardlinks, always copy")),
 	OPT_BOOL('s', "shared", &option_shared,
-		    N_("setup as shared repository")),
+		 N_("setup as shared repository")),
 	OPT_BOOL(0, "recursive", &option_recursive,
-		    N_("initialize submodules in the clone")),
+		 N_("initialize submodules in the clone")),
 	OPT_BOOL(0, "recurse-submodules", &option_recursive,
-		    N_("initialize submodules in the clone")),
+		 N_("initialize submodules in the clone")),
 	OPT_STRING(0, "template", &option_template, N_("template-directory"),
 		   N_("directory from which templates will be used")),
 	OPT_CALLBACK(0 , "reference", &option_reference, N_("repo"),
@@ -92,9 +92,9 @@ static struct option builtin_clone_options[] = {
 	OPT_STRING('u', "upload-pack", &option_upload_pack, N_("path"),
 		   N_("path to git-upload-pack on the remote")),
 	OPT_STRING(0, "depth", &option_depth, N_("depth"),
-		    N_("create a shallow clone of that depth")),
+		   N_("create a shallow clone of that depth")),
 	OPT_BOOL(0, "single-branch", &option_single_branch,
-		    N_("clone only one branch, HEAD or --branch")),
+		 N_("clone only one branch, HEAD or --branch")),
 	OPT_BOOL(0, "dissociate", &option_dissociate,
 		 N_("use --reference only while cloning")),
 	OPT_BOOL(0, "disassociate", &option_dissociate,
-- 
2.3.0
Previous: Michael HaggertyNext: Eric Sunshine
Message 10 of 11 in “--disassociate alias for --dissociate clone option”
  1. --disassociate alias for --dissociate clone optionMatt Whiteley, Feb 20, 2015
  2. 1/2 clone: add disassociate alias to dissociate optionMatt Whiteley, Feb 20, 2015
  3. Jeff KingFeb 21, 2015
  4. Junio C HamanoFeb 21, 2015
  5. Jeff KingFeb 21, 2015
  6. Junio C HamanoFeb 22, 2015
  7. Michael HaggertyFeb 24, 2015
  8. Junio C HamanoFeb 24, 2015
  9. Michael HaggertyFeb 24, 2015
  10. 2/2 clone: Realign lines near disassociate optionMatt Whiteley, Feb 20, 2015
  11. Eric SunshineFeb 20, 2015

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.