From: Jacob Keller <jacob.e.keller@intel.com>
To: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Cc: Jacob Keller <jacob.keller@gmail.com>
Subject: [PATCH 0/2] minor refspec cleanups
Date: Fri, 21 Aug 2020 14:48:18 -0700 [thread overview]
Message-ID: <20200821214820.757222-1-jacob.e.keller@intel.com> (raw)
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 reply other threads:[~2020-08-21 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 21:48 Jacob Keller [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200821214820.757222-1-jacob.e.keller@intel.com \
--to=jacob.e.keller@intel.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jacob.keller@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).