summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2019-10-13 15:37:39 +0200
committerJunio C Hamano <gitster@pobox.com>2019-10-15 10:55:11 +0900
commit062a309d360d47a7eff0036b7706dc923fe8081e (patch)
treec8418682b457fe71088230d1994a71530cdfa782 /commit.c
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9 (diff)
remote-curl: use argv_array in parse_push()
Use argv_array to build an array of strings instead of open-coding it. This simplifies the code a bit. We also need to make the specs parameter of push(), push_dav() and push_git() const to match the argv member of the argv_array. That's fine, as all three only actually read from the specs array anyway. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions