aboutsummaryrefslogtreecommitdiffstats
path: root/quote.c
AgeCommit message (Expand)AuthorFilesLines
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-04-11treewide: reduce includes of cache.h in other headersElijah Newren1-1/+2
2023-02-23treewide: replace cache.h with more direct headers, where possibleElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-0/+1
2021-07-26ref-filter: --format=%(raw) support --perlZheNing Hu1-0/+17
2021-01-12quote: make sq_dequote_step() a public functionJeff King1-5/+10
2020-09-10quote: turn 'nodq' parameter into a set of flagsJunio C Hamano1-7/+11
2020-09-10quote: rename misnamed sq_lookup[] to cq_lookup[]Junio C Hamano1-7/+7
2020-09-10quote_path: code clarificationJunio C Hamano1-7/+12
2020-09-10quote_path: optionally allow quoting a path with SP in itJunio C Hamano1-0/+7
2020-09-10quote_path: give flags parameter to quote_path()Junio C Hamano1-1/+1
2020-09-10quote_path: rename quote_path_relative() to quote_path()Junio C Hamano1-2/+1
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King1-2/+2
2020-07-28quote: rename sq_dequote_to_argv_array to mention strvecJeff King1-1/+1
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-02-24quote: use isalnum() to check for alphanumeric charactersRené Scharfe1-1/+1
2019-10-15Merge branch 'gs/sq-quote-buf-pretty'Junio C Hamano1-0/+6
2019-10-08sq_quote_buf_pretty: don't drop empty argumentsGarima Singh1-0/+6
2019-08-09quote: add sq_append_quote_argv_pretty()Jeff Hostetler1-1/+17
2018-12-09Indent code with TABsNguyễn Thái Ngọc Duy1-1/+1
2018-02-27Merge branch 'jk/sq-dequote-on-bogus-input'Junio C Hamano1-3/+9
2018-02-14sq_dequote: fix extra consumption of source stringJeff King1-3/+9
2018-01-16trace: avoid unnecessary quotingJeff King1-0/+26
2018-01-16sq_quote_argv: drop maxlen parameterJeff King1-3/+1
2017-09-22consistently use "fallthrough" comments in switchesJeff King1-0/+1
2016-07-19Merge branch 'nd/icase'Junio C Hamano1-0/+37
2016-07-01grep/icase: avoid kwsset when -F is specifiedNguyễn Thái Ngọc Duy1-0/+37
2016-03-01quote: implement sq_quotef()Jacob Keller1-0/+13
2015-10-07quote: move comment before sq_quote_buf()Christian Couder1-5/+5
2015-10-07quote: fix broken sq_quote_buf() related commentChristian Couder1-0/+1
2014-12-01ls-tree: remove path filtering logic in show_treeNguyễn Thái Ngọc Duy1-21/+0
2013-07-30quote: remove sq_quote_print()Ramkumar Ramachandra1-17/+0
2013-07-30for-each-ref, quote: convert *_quote_print -> *_quote_bufNguyễn Thái Ngọc Duy1-22/+22
2013-06-26write_name{_quoted_relative,}(): remove redundant parametersJiang Xin1-2/+1
2013-06-26quote_path_relative(): remove redundant parameterJiang Xin1-5/+2
2013-06-26quote.c: substitute path_relative with relative_pathJiang Xin1-53/+2
2011-10-05Merge branch 'jk/argv-array'Junio C Hamano1-3/+20
2011-09-14quote: provide sq_dequote_to_argv_arrayJeff King1-3/+20
2011-08-11ls-files: fix pathspec display on errorClemens Buchacher1-2/+6
2010-06-05quote.c: separate quoting and relative path generationClemens Buchacher1-28/+61
2010-02-06Fix invalid read in quote_c_style_countedJeff King1-1/+3
2010-01-12quote.c: mark file-local function staticJunio C Hamano1-1/+1
2009-06-20Fix various sparse warnings in the git source codeLinus Torvalds1-2/+2
2009-03-30quote: add "sq_dequote_to_argv" to put unwrapped args in an argv arrayChristian Couder1-0/+17
2009-03-30quote: implement "sq_dequote_many" to unwrap many args in one stringChristian Couder1-2/+16
2008-06-27shrink git-shell by avoiding redundant dependenciesDmitry Potapov1-0/+2
2008-03-08Merge branch 'dp/clean-fix'Junio C Hamano1-0/+42
2008-03-07Make private quote_path() in wt-status.c available as quote_path_relative()Dmitry Potapov1-0/+42
2008-03-07unquote_c_style: fix off-by-one.Pierre Habouzit1-1/+1
2007-12-26Fix rewrite_diff() name quoting.Junio C Hamano1-0/+16
2007-12-03Trace and quote with argv: get rid of unneeded count argument.Christian Couder1-10/+3
2007-11-08Style: place opening brace of a function definition at column 1Junio C Hamano1-1/+2
2007-11-04Fix an infinite loop in sq_quote_buf().Johannes Sixt1-1/+1
2007-09-29strbuf change: be sure ->buf is never ever NULL.Pierre Habouzit1-1/+1
2007-09-21sq_quote_argv and add_to_string rework with strbuf's.Pierre Habouzit1-70/+24
2007-09-20Full rework of quote_c_style and write_name_quoted.Pierre Habouzit1-90/+119
2007-09-20Rework unquote_c_style to work on a strbuf.Pierre Habouzit1-53/+51
2007-06-24Add core.quotepath configuration variable.Junio C Hamano1-2/+3
2007-06-08Even more missing staticJunio C Hamano1-13/+1
2007-01-28Teach for-each-ref about a little language called Tcl.Shawn O. Pearce1-0/+34
2006-10-30Merge branch 'maint'Junio C Hamano1-1/+1
2006-10-30quote.c: ensure the same quoting across platforms.Junio C Hamano1-1/+1
2006-09-16Add git-for-each-ref: helper for language bindingsJunio C Hamano1-0/+38
2006-09-10Move add_to_string to "quote.c" and make it extern.Christian Couder1-0/+29
2006-08-31Trace into open fd and refactor tracing code.Christian Couder1-0/+32
2006-07-09GIT_TRACE: show which built-in/external commands are executedMatthias Lederhofer1-0/+17
2006-06-28quote.c: silence compiler warnings from EMIT macroJeff King1-1/+1
2006-06-18Remove ranges from switch statements.Florian Forster1-1/+8
2006-04-17cleanups: Remove impossible case in quote.cSerge E. Hallyn1-2/+0
2005-12-21[PATCH] quote.c: Make loop control more readable.Pavel Roskin1-2/+4
2005-11-28write_name_quoted(): make one of the path a counted string.Junio C Hamano1-10/+19
2005-10-24Add git-shell.Linus Torvalds1-1/+40
2005-10-17Do not quote SP.Junio C Hamano1-2/+2
2005-10-17Functions to quote and unquote pathnames in C-style.Junio C Hamano1-0/+165
2005-10-10Enhanced sq_quote()H. Peter Anvin1-22/+34
2005-07-08[PATCH] Make sq_expand() available as sq_quote().Junio C Hamano1-0/+41