summaryrefslogtreecommitdiff
path: root/pkt-line.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-09-01 11:25:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-09-03 04:10:01 (GMT)
commitfe4a0a288842e225f99254b3e6ce14ff98875501 (patch)
treec8bb6378525ac176e76472dcc58666a708845d78 /pkt-line.c
parent9e234af281107d44116ecf31eef65de145c46d15 (diff)
downloadgit-fe4a0a288842e225f99254b3e6ce14ff98875501.zip
git-fe4a0a288842e225f99254b3e6ce14ff98875501.tar.gz
git-fe4a0a288842e225f99254b3e6ce14ff98875501.tar.bz2
argv-array: add pop function
Sometimes we build a set of similar command lines, differing only in the final arguments (e.g., "fetch --multiple"). To use argv_array for this, you have to either push the same set of elements repeatedly, or break the abstraction by manually manipulating the array's internal members. Instead, let's provide a sanctioned "pop" function to remove elements from the end. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pkt-line.c')
0 files changed, 0 insertions, 0 deletions