119 Commits (1a5fccc0c26b4a8abafd85a73558022e65f6f8cf)

Author SHA1 Message Date
Jeff King 670c359da3 link_alt_odb_entry: handle normalize_path errors 8 years ago
René Scharfe a8342a417e strbuf: use valid pointer in strbuf_remove() 8 years ago
René Scharfe 31471ba21e strbuf: avoid calling strbuf_grow() twice in strbuf_addbuf() 9 years ago
Jeff King b70904306f strbuf_getwholeline: NUL-terminate getdelim buffer on error 9 years ago
Stefan Beller 2dac9b5637 run_processes_parallel: treat output of children as byte array 9 years ago
Jeff King 3733e69464 use xmallocz to avoid size arithmetic 9 years ago
Junio C Hamano 1a0c8dfd89 strbuf: give strbuf_getline() to the "most text friendly" variant 9 years ago
Junio C Hamano 8f309aeb82 strbuf: introduce strbuf_getline_{lf,nul}() 9 years ago
Junio C Hamano c8aa9fdf5d strbuf: make strbuf_getline_crlf() global 9 years ago
Junio C Hamano dce80bd18c strbuf: miniscule style fix 9 years ago
Stefan Beller b4e04fb66e strbuf: add strbuf_read_once to read without blocking 9 years ago
Tobias Klauser 63af4a8446 strbuf: make stripspace() part of strbuf 9 years ago
Jeff King 5096d4909f convert trivial sprintf / strcpy calls to xsnprintf 9 years ago
Jeff King af49c6d091 add reentrant variants of sha1_to_hex and find_unique_abbrev 9 years ago
Jim Hill 3ebbd00cf3 strbuf_read(): skip unnecessary strbuf_grow() at eof 10 years ago
Jeff King e4f031e34b strbuf: make strbuf_addftime more robust 10 years ago
Michael Haggerty 6c8afe495b strbuf: strbuf_read_file() should return ssize_t 10 years ago
Jeff King aa1462cc3d introduce "format" date-mode 10 years ago
Jeff King 0cc30e0e84 strbuf_getwholeline: use getdelim if it is available 10 years ago
Jeff King f80c153bea strbuf_getwholeline: avoid calling strbuf_grow 10 years ago
Jeff King 82912d1de8 strbuf_getwholeline: use getc_unlocked 10 years ago
Jeff King 3446a59b39 strbuf_getwholeline: use getc macro 10 years ago
Junio C Hamano d55aeb7687 strbuf_add_commented_lines(): avoid SP-HT sequence in commented lines 10 years ago
René Scharfe d07235a027 strbuf: export strbuf_addchars() 10 years ago
René Scharfe 679eebe24d abspath: convert absolute_path() to strbuf 11 years ago
René Scharfe f22a76e911 strbuf: add strbuf_getcwd() 11 years ago
Jeff King f52a35fd63 implement ends_with via strip_suffix 11 years ago
Jeff King 30a0ddb705 strbuf: add xstrfmt helper 11 years ago
Jeff King d4241f52d1 strbuf: add strbuf_reencode helper 11 years ago
Jeff King ffb20ce125 strbuf: add strbuf_tolower function 11 years ago
Jeff King 88d5a6f6cd daemon/config: factor out duplicate xstrdup_tolower 11 years ago
Brian Gesiak 3bb55e8aa8 strbuf: use _rtrim and _ltrim in strbuf_trim 11 years ago
Christian Couder 666c90b629 strbuf: remove prefixcmp() and suffixcmp() 11 years ago
Christian Couder 956623157f strbuf: introduce starts_with() and ends_with() 11 years ago
Antoine Pelisse 079b546a29 strbuf: create strbuf_humanise_bytes() to show byte sizes 12 years ago
Junio C Hamano eff80a9fd9 Allow custom "comment char" 12 years ago
Michael Haggerty 5963c0367f Add new function strbuf_add_xml_quoted() 12 years ago
Michael Haggerty 17b73dc699 strbuf_split*(): rename "delim" parameter to "terminator" 12 years ago
Michael Haggerty 1173bb3311 strbuf_split_buf(): simplify iteration 12 years ago
Michael Haggerty b8c2c1fa35 strbuf_split_buf(): use ALLOC_GROW() 12 years ago
Jeff King 08ad56f3f0 strbuf: always return a non-NULL value from strbuf_detach 12 years ago
Junio C Hamano ea03a8e181 strbuf.c: mark a private file-scope symbol as static 12 years ago
Nguyễn Thái Ngọc Duy 9a0a30aa4b strbuf: convenience format functions with \n automatically appended 13 years ago
Thomas Rast 5e8617f560 bundle: put strbuf_readline_fd in strbuf.c with adjustments 13 years ago
Jeff King c505116b91 strbuf: add strbuf_add*_urlencode 13 years ago
Junio C Hamano 895680f044 fmt-merge-msg: Add contents of merged tag in the merge message 13 years ago
Brandon Casey 1844f8d591 strbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline() 13 years ago
Thomas Rast 8c74ef1e97 strbuf_grow(): maintain nul-termination even for new buffer 14 years ago
Jeff King 2f1d9e2b93 strbuf: allow strbuf_split to work on non-strbufs 14 years ago
Jeff King 28fc3a6857 strbuf_split: add a max parameter 14 years ago