Web lists-archives.com

[PATCH 0/3] cleanups on top of sg/clone-refspec-from-command-line-config

These three patches replace the DONTMERGE at the tip of
sg/clone-refspec-from-command-line-config. The first one is the
refactoring I posted earlier (and which was in the DONTMERGE), with a
commit message and signoff.

The third one fixes the minor leak I mentioned during the discussion.
And the second fixes some puzzling code I found while trying to write
the third one. :)

  [1/3]: clone: factor out refspec parsing
  [2/3]: remote: drop free_refspecs() function
  [3/3]: clone: use free_refspec() to free refspec list

 builtin/clone.c | 56 +++++++++++++++++++++++++++++++++++---------------------
 remote.c        | 28 ++++++----------------------
 2 files changed, 41 insertions(+), 43 deletions(-)