diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-12-03 14:33:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-03 14:47:18 -0800 |
commit | 50d829c11a3c82a8b23f2e165ab6944dfd9bbb36 (patch) | |
tree | d6de8d726bda5ac95f8278aa9492cc83b31e23ce /remote.c | |
parent | daad3aa255ec5c08f95867feaaf8f4db03346e70 (diff) | |
download | git-50d829c11a3c82a8b23f2e165ab6944dfd9bbb36.tar.gz |
builtin/push.c: use strbuf instead of manual allocation
The command line arguments given to "git push" are massaged into
a list of refspecs in set_refspecs() function. This was implemented
using xmalloc, strcpy and friends, but it is much easier to read if
done using strbuf.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions