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

[PATCH 0/3] cleanups on top of sg/clone-refspec-from-command-line-config

From
Jeff King <peff@peff.net>
Date
May 15, 2017, 07:46 UTC
Message-ID
<20170515074617.wsdzogshc4ilnlsb@sigill.intra.peff.net>

These three patches replace the DONTMERGE at the tip of sg/clone-refspec-from-command-line-config. The first one is the refactoring I posted earlier (and which was in the DONTMERGE), with a commit message and signoff.

The third one fixes the minor leak I mentioned during the discussion. And the second fixes some puzzling code I found while trying to write the third one. :)

  [1/3]: clone: factor out refspec parsing
  [2/3]: remote: drop free_refspecs() function
  [3/3]: clone: use free_refspec() to free refspec list
 builtin/clone.c | 56 +++++++++++++++++++++++++++++++++++---------------------
 remote.c        | 28 ++++++----------------------
 2 files changed, 41 insertions(+), 43 deletions(-)
-Peff
Next: Jeff King
Message 1 of 4 in “cleanups on top of sg/clone-refspec-from-command-line-config”
  1. 0/3 cleanups on top of sg/clone-refspec-from-command-line-configJeff King, May 15, 2017
  2. 1/3 clone: factor out refspec parsingJeff King, May 15, 2017
  3. 2/3 remote: drop free_refspecs() functionJeff King, May 15, 2017
  4. 3/3 clone: use free_refspec() to free refspec listJeff King, May 15, 2017

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.