Skip to content

builtin-clone: use strbuf

Miklos Vajna git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4builtin-clone: fix a memory leak in cmd_clone()builtin-clone.c+1 -02 replies
2/4builtin-clone: use strbuf in guess_dir_name()builtin-clone.c+3 -30 replies
3/4builtin-clone: use strbuf in clone_local() and copy_or_link_directory()builtin-clone.c+31 -270 replies
4/4builtin_clone: use strbuf in cmd_clone()builtin-clone.c+25 -200 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/4] builtin-clone: use strbuf

Hi,

These patches replace hand-rolled sprintf/strcpy usage and such with using the strbuf API.

The first patch is unrelated, I just noticed that minor issue during creating the other patches.

Miklos Vajna (4):
builtin-clone: fix a memory leak in cmd_clone()
builtin-clone: use strbuf in guess_dir_name()
builtin-clone: use strbuf in clone_local() and
copy_or_link_directory()
builtin_clone: use strbuf in cmd_clone()

 builtin-clone.c |  110 ++++++++++++++++++++++++++++++-------------------------
 1 files changed, 60 insertions(+), 50 deletions(-)