summaryrefslogtreecommitdiff
path: root/strbuf.c
Commit message (Expand)AuthorAgeFilesLines
* strbuf: add a case insensitive starts_with()Lars Schneider2018-03-091-0/+9
* strbuf: add xstrdup_toupper()Lars Schneider2018-02-151-0/+12
* strbuf: remove unnecessary NUL assignment in xstrdup_tolower()Lars Schneider2018-02-151-1/+0
* Merge branch 'cc/skip-to-optional-val'Junio C Hamano2017-12-281-0/+22
|\
| * git-compat-util: introduce skip_to_optional_arg()Christian Couder2017-12-111-0/+22
* | Merge branch 'rs/strbuf-read-once-reset-length'Junio C Hamano2017-12-271-0/+3
|\ \ | |/ |/|
| * strbuf: release memory on read error in strbuf_read_once()rs/strbuf-read-once-reset-lengthRené Scharfe2017-12-071-0/+3
* | Merge branch 'rs/strbuf-getwholeline-fix'Junio C Hamano2017-08-221-0/+1
|\ \
| * | strbuf: clear errno before calling getdelim(3)rs/strbuf-getwholeline-fixRené Scharfe2017-08-101-0/+1
| |/
* | Merge branch 'ab/strbuf-addftime-tzname-boolify'Junio C Hamano2017-07-061-3/+2
|\ \
| * | strbuf: change an always NULL/"" strbuf_addftime() param to boolab/strbuf-addftime-tzname-boolifyÆvar Arnfjörð Bjarmason2017-07-011-3/+2
* | | Merge branch 'rs/pretty-add-again'Junio C Hamano2017-06-241-7/+0
|\ \ \ | |/ / |/| |
| * | pretty: recalculate duplicate short hashesrs/pretty-add-againRené Scharfe2017-06-151-7/+0
| * | Merge branch 'rs/strbuf-remove-fix' into maintJunio C Hamano2016-09-291-1/+1
| |\ \
| * \ \ Merge branch 'rs/use-strbuf-addbuf' into maintJunio C Hamano2016-08-081-0/+7
| |\ \ \
* | | | | strbuf: let strbuf_addftime handle %z and %Z itselfRené Scharfe2017-06-151-4/+37
* | | | | Merge branch 'rs/freebsd-getcwd-workaround'Junio C Hamano2017-03-301-0/+11
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | strbuf: support long paths w/o read rights in strbuf_getcwd() on FreeBSDrs/freebsd-getcwd-workaroundRené Scharfe2017-03-261-0/+11
* | | | | strbuf: add strbuf_add_real_path()rs/strbuf-add-real-pathRené Scharfe2017-02-271-0/+11
|/ / / /
* | | | link_alt_odb_entry: handle normalize_path errorsJeff King2016-10-101-0/+20
* | | | Merge branch 'rs/strbuf-remove-fix'Junio C Hamano2016-09-211-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | strbuf: use valid pointer in strbuf_remove()rs/strbuf-remove-fixRené Scharfe2016-09-131-1/+1
| * | | Merge branch 'jk/getwholeline-getdelim-empty' into maintJunio C Hamano2016-04-141-1/+7
| |\ \ \
* | \ \ \ 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