[PATCH 0/3] refspec: refactor & fix free() behavior
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jun 5, 2018, 19:54 UTC
- Message-ID
- <20180605195440.8505-1-avarab@gmail.com>
- In-Reply-To
- <20180605162939.GA158365@google.com>
Since Martin & Brandon both liked this direction I've fixed it up.
Martin: I didn't want to be the author of the actual fix for the bug you found, so I rewrote your commit in 3/3. The diff is different, and I slightly modified the 3rd paragraph of the commit message & added my sign-off, but otherwise it's the same.
Martin Ågren (1): refspec: initalize `refspec_item` in `valid_fetch_refspec()`
Ævar Arnfjörð Bjarmason (2): refspec: s/refspec_item_init/&_or_die/g refspec: add back a refspec_item_init() function
builtin/clone.c | 2 +- builtin/pull.c | 2 +- refspec.c | 13 +++++++++---- refspec.h | 5 ++++- 4 files changed, 15 insertions(+), 7 deletions(-)
-- 2.17.0.290.gded63e768a