Skip to content

minor refspec cleanups

Jacob Keller git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2refspec: fix documentation referring to refspec_itemrefspec.h+14 -130 replies
2/2refspec: make sure stack refspec_item variables are zeroedbuiltin/remote.c transport.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] minor refspec cleanups

From: Jacob Keller <[email protected]>

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

Signature · 1 line
2.28.0.218.ge27853923b9d.dirty