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 /.gitignore | |
parent | Sync with 1.8.5.1 (diff) | |
download | tgif-50d829c11a3c82a8b23f2e165ab6944dfd9bbb36.tar.xz |
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions