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

Re: [PATCH] Start conforming code to "git subcmd" style part 3

From
Thomas Rast <trast@student.ethz.ch>
Date
Sep 13, 2008, 17:08 UTC
Message-ID
<200809131908.34145.trast@student.ethz.ch>
In-Reply-To
<20080913163058.GA5108@zakalwe.fi>
Heikki Orsila wrote:
Show 18 quoted lines
> diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
> index cb7007e..edcf72a 100644
> --- a/builtin-tar-tree.c
> +++ b/builtin-tar-tree.c
> @@ -9,19 +9,19 @@
>  
>  static const char tar_tree_usage[] =
>  "git tar-tree [--remote=<repo>] <tree-ish> [basedir]\n"
> -"*** Note that this command is now deprecated; use git-archive instead.";
> +"*** Note that this command is now deprecated; use \"git archive\" instead.";
>  
>  int cmd_tar_tree(int argc, const char **argv, const char *prefix)
>  {
>  	/*
> -	 * git-tar-tree is now a wrapper around git-archive --format=tar
> +	 * "git tar-tree" is now a wrapper around "git archive" --format=tar
>  	 *
>  	 * $0 --remote=<repo> arg... ==>

I think the quotes should go one further to the right: + * "git tar-tree" is now a wrapper around "git archive --format=tar"

The rest looks fine.
- Thomas
Previous: Heikki OrsilaNext: Heikki Orsila
Message 2 of 3 in “Start conforming code to "git subcmd" style part 3”
  1. Start conforming code to "git subcmd" style part 3Heikki Orsila, Sep 13, 2008
  2. Thomas RastSep 13, 2008
  3. Heikki OrsilaSep 13, 2008

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.