aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/ls-tree.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-03Merge branch 'rs/strbuf-expand-bad-format'Junio C Hamano1-9/+1
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano1-1/+4
2024-03-25factor out strbuf_expand_bad_format()René Scharfe1-9/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-2/+0
2023-10-02builtin/ls-tree: let the oid determine the output algorithmEric W. Biederman1-1/+4
2023-08-29ls-tree: mark unused parameter in callbackJeff King1-1/+2
2023-07-18ls-tree: fix --no-full-nameRené Scharfe1-4/+3
2023-07-07ls-tree: simplify prefix handlingRené Scharfe1-14/+10
2023-07-06Merge branch 'rs/strbuf-expand-step'Junio C Hamano1-66/+41
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-2/+1
2023-06-18strbuf: simplify strbuf_expand_literal_cb()René Scharfe1-1/+1
2023-06-18replace strbuf_expand() with strbuf_expand_step()René Scharfe1-66/+41
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-4/+5
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-4/+5
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-01-23Merge branch 'rs/ls-tree-path-expansion-fix'Junio C Hamano1-7/+4
2023-01-14ls-tree: remove dead store and strbuf for quote_c_style()René Scharfe1-5/+2
2023-01-14ls-tree: fix expansion of repeated %(path)René Scharfe1-3/+3
2023-01-13ls-tree: cleanup the redundant SPACETeng Long1-1/+1
2023-01-13ls-tree: make "line_termination" less genericÆvar Arnfjörð Bjarmason1-14/+44
2023-01-13ls-tree: fold "show_tree_data" into "cb" structÆvar Arnfjörð Bjarmason1-13/+5
2023-01-13ls-tree: use a "struct options"Ævar Arnfjörð Bjarmason1-87/+116
2023-01-13ls-tree: don't use "show_tree_data" for "fast" callbacksÆvar Arnfjörð Bjarmason1-26/+18
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-5/+5
2022-08-19mark unused read_tree_recursive() callback parametersJeff King1-5/+8
2022-04-06Merge branch 'tl/ls-tree-oid-only'Junio C Hamano1-1/+1
2022-04-06ls-tree: `-l` should not imply recursive listingJosh Steadmon1-1/+1
2022-04-04Merge branch 'tl/ls-tree-oid-only'Junio C Hamano1-61/+305
2022-03-23ls-tree: split up "fast path" callbacksÆvar Arnfjörð Bjarmason1-74/+125
2022-03-23ls-tree: detect and error on --name-only --name-statusÆvar Arnfjörð Bjarmason1-1/+10
2022-03-23ls-tree: introduce "--format" optionÆvar Arnfjörð Bjarmason1-3/+150
2022-03-23ls-tree: support --object-only option for "git-ls-tree"Teng Long1-1/+12
2022-03-23ls-tree: introduce struct "show_tree_data"Ævar Arnfjörð Bjarmason1-15/+27
2022-03-23ls-tree: slightly refactor `show_tree()`Teng Long1-37/+61
2022-03-23ls-tree: fix "--name-only" and "--long" combined use bugTeng Long1-6/+6
2022-03-23ls-tree: simplify nesting if/else logic in "show_tree()"Teng Long1-12/+9
2022-03-23ls-tree: rename "retval" to "recurse" in "show_tree()"Teng Long1-4/+4
2022-03-23ls-tree: use "size_t", not "int" for "struct strbuf"'s "len"Ævar Arnfjörð Bjarmason1-3/+3
2022-03-23ls-tree: use "enum object_type", not {blob,tree,commit}_typeÆvar Arnfjörð Bjarmason1-6/+6
2022-03-23ls-tree: add missing braces to "else" armsÆvar Arnfjörð Bjarmason1-2/+4
2022-03-23ls-tree: remove commented-out codeÆvar Arnfjörð Bjarmason1-9/+0
2022-02-15built-ins: trust the "prefix" from run_builtin()Ævar Arnfjörð Bjarmason1-1/+1
2021-03-20tree.h API: simplify read_tree_recursive() signatureÆvar Arnfjörð Bjarmason1-3/+3
2019-01-14Merge branch 'nd/attr-pathspec-in-tree-walk'Junio C Hamano1-1/+2
2018-11-19tree.c: make read_tree*() take 'struct repository *'Nguyễn Thái Ngọc Duy1-1/+2
2018-11-12Upcast size_t variables to uintmax_t when printingTorsten Bögershausen1-1/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-1/+1
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-1/+1
2018-03-14Convert find_unique_abbrev* to struct object_idbrian m. carlson1-2/+2
2018-03-14tree: convert read_tree_recursive to struct object_idbrian m. carlson1-4/+4
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-08tree: convert parse_tree_indirect to struct object_idbrian m. carlson1-1/+1
2017-05-08builtin/ls-tree: convert to struct object_idbrian m. carlson1-3/+3
2017-01-08ls-tree: convert show_recursive to use the pathspec struct interfaceBrandon Williams1-9/+7
2015-09-25convert trivial sprintf / strcpy calls to xsnprintfJeff King1-4/+5
2014-12-01ls-tree: disable negative pathspec because it's not supportedNguyễn Thái Ngọc Duy1-1/+2
2014-12-01ls-tree: remove path filtering logic in show_treeNguyễn Thái Ngọc Duy1-7/+7
2014-12-01tree.c: update read_tree_recursive callback to pass strbuf as baseNguyễn Thái Ngọc Duy1-4/+5
2014-02-24pathspec: rename match_pathspec_depth() to match_pathspec()Nguyễn Thái Ngọc Duy1-1/+1
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-2/+11
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-3/+3
2013-07-15parse_pathspec: accept :(icase)path syntaxNguyễn Thái Ngọc Duy1-1/+1
2013-07-15pathspec: support :(glob) syntaxNguyễn Thái Ngọc Duy1-1/+1
2013-07-15rename field "raw" to "_raw" in struct pathspecNguyễn Thái Ngọc Duy1-1/+1
2013-07-15convert some get_pathspec() calls to parse_pathspec()Nguyễn Thái Ngọc Duy1-1/+9
2013-07-15move struct pathspec and related functions to pathspec.[ch]Nguyễn Thái Ngọc Duy1-0/+1
2012-11-19pathspec: save the non-wildcard length partNguyễn Thái Ngọc Duy1-1/+1
2012-08-20i18n: ls-tree: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-11/+11
2011-07-25Ensure git ls-tree exits with a non-zero exit code if read_tree_recursive fails.Jon Seymour1-3/+1
2011-04-05pathspec: rename per-item field has_wildcard to use_wildcardJunio C Hamano1-1/+2
2011-03-25Convert read_tree{,_recursive} to support struct pathspecNguyễn Thái Ngọc Duy1-5/+7
2010-10-08Use angles for placeholders consistentlyŠtěpán Němec1-1/+1
2010-09-12ls-tree $di $dir: do not mistakenly recurse into directoriesJunio C Hamano1-0/+2
2010-03-21ls: remove redundant logicErik Faye-Lund1-4/+2
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+176