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

[PATCH 0/2] minor refspec cleanups

From
Jacob Keller <jacob.e.keller@intel.com>
Date
Aug 21, 2020, 21:48 UTC
Message-ID
<20200821214820.757222-1-jacob.e.keller@intel.com>
From: Jacob Keller <jacob.keller@gmail.com>

While preparing some patches for implementing support for negative refspecs, I found a couple of minor nits. The first patch fixes the documentation in refspec.h to refer to the correct structures. The second patch cleans up a potential issue with refspec_item structures that weren't initialized properly. While nothing breaks today, future extensions to refspec_item would break if the structure wasn't properly initialized to zero.

Jacob Keller (2):
  refspec: fix documentation referring to refspec_item
  refspec: make sure stack refspec_item variables are zeroed
 builtin/remote.c |  1 +
 refspec.h        | 27 ++++++++++++++-------------
 transport.c      |  1 +
 3 files changed, 16 insertions(+), 13 deletions(-)
base-commit: 878e727637ec5815ccb3301eb994a54df95b21b8
-- 
2.28.0.218.ge27853923b9d.dirty
Next: Jacob Keller
Message 1 of 3 in “minor refspec cleanups”
  1. 0/2 minor refspec cleanupsJacob Keller, Aug 21, 2020
  2. 1/2 refspec: fix documentation referring to refspec_itemJacob Keller, Aug 21, 2020
  3. 2/2 refspec: make sure stack refspec_item variables are zeroedJacob Keller, Aug 21, 2020

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.