summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-12-03 14:33:10 -0800
committerJunio C Hamano <gitster@pobox.com>2013-12-03 14:47:18 -0800
commit50d829c11a3c82a8b23f2e165ab6944dfd9bbb36 (patch)
treed6de8d726bda5ac95f8278aa9492cc83b31e23ce /t/t5516-fetch-push.sh
parentdaad3aa255ec5c08f95867feaaf8f4db03346e70 (diff)
downloadgit-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 't/t5516-fetch-push.sh')
0 files changed, 0 insertions, 0 deletions