git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] minor refspec cleanups
@ 2020-08-21 21:48 Jacob Keller
  2020-08-21 21:48 ` [PATCH 1/2] refspec: fix documentation referring to refspec_item Jacob Keller
  2020-08-21 21:48 ` [PATCH 2/2] refspec: make sure stack refspec_item variables are zeroed Jacob Keller
  0 siblings, 2 replies; 3+ messages in thread
From: Jacob Keller @ 2020-08-21 21:48 UTC (permalink / raw)
  To: git, Junio C Hamano; +Cc: Jacob Keller

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-21 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21 21:48 [PATCH 0/2] minor refspec cleanups Jacob Keller
2020-08-21 21:48 ` [PATCH 1/2] refspec: fix documentation referring to refspec_item Jacob Keller
2020-08-21 21:48 ` [PATCH 2/2] refspec: make sure stack refspec_item variables are zeroed Jacob Keller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).