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

Re: [PATCH 1/2] builtin-commit: refactor short-status code into wt-status.c

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 7, 2009, 00:30 UTC
Message-ID
<7v638jd3sj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<c42e3f38816a08aba4610cb808f09067a07ad097.1260025135.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 13 quoted lines
> Currently, builtin-commit.c contains most code producing the
> short-status output, whereas wt-status.c contains most of the code for
> the long format.
>
> Refactor so that most of the long and short format producing code
> resides in wt-status.c and is named analogously.
>
> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
> ---
>  builtin-commit.c |  101 ++---------------------------------------------------
>  wt-status.c      |   89 +++++++++++++++++++++++++++++++++++++++++++++++
>  wt-status.h      |    2 +
>  3 files changed, 95 insertions(+), 97 deletions(-)
Nice.
Thanks.
Previous: Michael J GruberNext: Michael J Gruber
Message 3 of 7 in “Refactor status producers and make status -s use color”
  1. 0/2 Refactor status producers and make status -s use colorMichael J Gruber, Dec 5, 2009
  2. 1/2 builtin-commit: refactor short-status code into wt-status.cMichael J Gruber, Dec 5, 2009
  3. Junio C HamanoDec 7, 2009
  4. 2/2 status -s: obey color.statusMichael J Gruber, Dec 5, 2009
  5. Jeff KingDec 7, 2009
  6. Jeff KingDec 7, 2009
  7. Michael J GruberDec 7, 2009

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.