[PATCH 0/4] builtin-clone: use strbuf
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Nov 21, 2008, 00:44 UTC
- Message-ID
- <cover.1227227976.git.vmiklos@frugalware.org>
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(-)