summaryrefslogtreecommitdiff
path: root/strbuf.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'rs/use-strbuf-addbuf'Junio C Hamano2016-07-251-0/+7
|\
| * strbuf: avoid calling strbuf_grow() twice in strbuf_addbuf()rs/use-strbuf-addbufRené Scharfe2016-07-221-0/+7
* | Merge branch 'sb/submodule-parallel-update'Junio C Hamano2016-04-061-0/+6
|\ \
| * | run_processes_parallel: treat output of children as byte arrayStefan Beller2016-03-011-0/+6
* | | Merge branch 'jk/getwholeline-getdelim-empty'Junio C Hamano2016-04-031-1/+7
|\ \ \
| * | | strbuf_getwholeline: NUL-terminate getdelim buffer on errorjk/getwholeline-getdelim-emptyJeff King2016-03-051-1/+7
* | | | Merge branch 'jk/tighten-alloc'Junio C Hamano2016-02-261-1/+1
|\ \ \ \
| * | | | use xmallocz to avoid size arithmeticJeff King2016-02-221-1/+1
| |/ / /
* | | | Merge branch 'jc/strbuf-getline'Junio C Hamano2016-01-281-3/+25
|\ \ \ \ | |_|/ / |/| | |
| * | | strbuf: give strbuf_getline() to the "most text friendly" variantjc/strbuf-getlineJunio C Hamano2016-01-151-4/+4
| * | | strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano2016-01-151-0/+10
| * | | strbuf: make strbuf_getline_crlf() globalJunio C Hamano2016-01-141-0/+12
| * | | strbuf: miniscule style fixJunio C Hamano2016-01-141-2/+2
| |/ /
* | | strbuf: add strbuf_read_once to read without blockingStefan Beller2015-12-161-0/+11
|/ /
* | Merge branch 'tk/stripspace'Junio C Hamano2015-10-261-0/+66
|\ \ | |/
| * strbuf: make stripspace() part of strbufTobias Klauser2015-10-161-0/+66
* | convert trivial sprintf / strcpy calls to xsnprintfJeff King2015-09-251-2/+2
* | add reentrant variants of sha1_to_hex and find_unique_abbrevJeff King2015-09-251-0/+9
|/
* Merge branch 'jh/strbuf-read-use-read-in-full'Junio C Hamano2015-08-251-5/+5
|\
| * strbuf_read(): skip unnecessary strbuf_grow() at eofjh/strbuf-read-use-read-in-fullJim Hill2015-08-101-5/+5
* | Merge branch 'jk/date-mode-format'Junio C Hamano2015-08-031-0/+33
|\ \
| * | strbuf: make strbuf_addftime more robustjk/date-mode-formatJeff King2015-07-201-17/+21
| * | introduce "format" date-modeJeff King2015-06-291-0/+29
* | | Merge branch 'mh/strbuf-read-file-returns-ssize-t'Junio C Hamano2015-07-131-2/+3
|\ \ \ | |/ / |/| |
| * | strbuf: strbuf_read_file() should return ssize_tmh/strbuf-read-file-returns-ssize-tMichael Haggerty2015-07-031-2/+3
* | | strbuf_getwholeline: use getdelim if it is availableJeff King2015-04-161-0/+42
* | | strbuf_getwholeline: avoid calling strbuf_growJeff King2015-04-161-1/+2
* | | strbuf_getwholeline: use getc_unlockedJeff King2015-04-161-1/+3
* | | strbuf_getwholeline: use getc macroJeff King2015-04-161-1/+1
|/ /
* | Merge branch 'jc/strbuf-add-lines-avoid-sp-ht-sequence'Junio C Hamano2015-01-071-1/+2
|\ \
| * | strbuf_add_commented_lines(): avoid SP-HT sequence in commented linesjc/strbuf-add-lines-avoid-sp-ht-sequenceJunio C Hamano2014-10-271-1/+2
* | | Merge branch 'rs/export-strbuf-addchars'Junio C Hamano2014-09-191-0/+7
|\ \ \
| * | | strbuf: export strbuf_addchars()René Scharfe2014-09-081-0/+7
* | | | Merge branch 'rs/strbuf-getcwd'Junio C Hamano2014-09-021-0/+46
|\ \ \ \ | |_|/ / |/| | |
| * | | abspath: convert absolute_path() to strbufRené Scharfe2014-08-261-0/+25
| * | | strbuf: add strbuf_getcwd()René Scharfe2014-07-281-0/+21
| | |/ | |/|
* | | Merge branch 'jk/strip-suffix'Junio C Hamano2014-07-161-9/+0
|\ \ \
| * | | implement ends_with via strip_suffixJeff King2014-06-301-9/+0
| |/ /
* | | strbuf: add xstrfmt helperJeff King2014-06-191-0/+19
* | | Merge branch 'jk/http-errors'Junio C Hamano2014-06-161-0/+17
|\ \ \
| * | | strbuf: add strbuf_reencode helperJeff King2014-05-271-0/+17
| |/ /
* | | Merge branch 'jk/strbuf-tolower'Junio C Hamano2014-06-161-0/+7
|\ \ \
| * | | strbuf: add strbuf_tolower functionjk/strbuf-tolowerJeff King2014-05-231-0/+7
| |/ /
* | | Merge branch 'jk/daemon-tolower'Junio C Hamano2014-06-161-0/+13
|\ \ \
| * | | daemon/config: factor out duplicate xstrdup_tolowerjk/daemon-tolowerJeff King2014-05-231-0/+13
| | |/ | |/|
* | | strbuf: use _rtrim and _ltrim in strbuf_trimBrian Gesiak2014-05-061-9/+2
| |/ |/|
* | strbuf: remove prefixcmp() and suffixcmp()cc/starts-n-ends-with-endgameChristian Couder2013-12-051-18/+0
* | strbuf: introduce starts_with() and ends_with()Christian Couder2013-12-051-0/+18
|/
* strbuf: create strbuf_humanise_bytes() to show byte sizesAntoine Pelisse2013-04-101-0/+19
* Allow custom "comment char"Junio C Hamano2013-01-161-9/+49