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

Re: [PATCH 3/5] pretty describe: move library functions to the new file describe.c

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Nov 4, 2007, 14:56 UTC
Message-ID
<472DDD80.2010203@lsrfire.ath.cx>
In-Reply-To
<Pine.LNX.4.64.0711041435540.4362@racer.site>
Johannes Schindelin schrieb:
Show 12 quoted lines
> Hi,
> 
> On Sun, 4 Nov 2007, Ren? Scharfe wrote:
> 
>>  Makefile           |    2 +-
>>  builtin-describe.c |  202 ---------------------------------------------------
>>  cache.h            |    5 ++
>>  describe.c         |  204 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  4 files changed, 210 insertions(+), 203 deletions(-)
>>  create mode 100644 describe.c
> 
> Would not "format-patch -C -C" have given a nicer output?

Yes, it would have been shorter, but it looks a bit strange, because it's deleting stuff from the new file describe.c (i.e. all the things left in builtin-describe.c):

 Makefile                         |    2 +-
 builtin-describe.c               |  202 --------------------------------------
 cache.h                          |    5 +
 builtin-describe.c => describe.c |   85 ----------------
 4 files changed, 6 insertions(+), 288 deletions(-)
 copy builtin-describe.c => describe.c (66%)

That's 367 lines of patch + stat vs. 470 lines for the one I sent. Will use next time.

Thanks, René

Previous: Johannes Schindelin
Message 3 of 3 in “pretty describe: move library functions to the new file describe.c”
  1. 3/5 pretty describe: move library functions to the new file describe.cRené Scharfe, Nov 4, 2007
  2. Johannes SchindelinNov 4, 2007
  3. René ScharfeNov 4, 2007

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.