summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-12-03 14:33:10 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-03 14:47:18 -0800
commit50d829c11a3c82a8b23f2e165ab6944dfd9bbb36 (patch)
treed6de8d726bda5ac95f8278aa9492cc83b31e23ce /builtin/commit.c
parentSync with 1.8.5.1 (diff)
downloadtgif-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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions