summaryrefslogtreecommitdiff
path: root/tree.c
AgeCommit message (Expand)AuthorFilesLines
2014-07-28add object_as_type helper for casting objectsLibravatar Jeff King1-8/+1
2014-07-28move setting of object->type to alloc_* functionsLibravatar Jeff King1-1/+1
2013-09-17Merge branch 'jk/free-tree-buffer'Libravatar Junio C Hamano1-0/+8
2013-09-09Merge branch 'jl/submodule-mv'Libravatar Junio C Hamano1-2/+2
2013-07-15checkout: convert read_tree_some to take struct pathspecLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2013-06-06clear parsed flag when we free tree buffersLibravatar Jeff King1-0/+8
2012-07-11Strip namelen out of ce_flags into a ce_namelen fieldLibravatar Thomas Gummerer1-3/+4
2011-10-27tree_entry_interesting(): give meaningful names to return valuesLibravatar Nguyễn Thái Ngọc Duy1-4/+5
2011-10-27tree-walk.c: do not leak internal structure in tree_entry_len()Libravatar Nguyễn Thái Ngọc Duy1-1/+1
2011-03-25Convert read_tree{,_recursive} to support struct pathspecLibravatar Nguyễn Thái Ngọc Duy1-9/+4
2011-03-25Reimplement read_tree_recursive() using tree_entry_interesting()Libravatar Nguyễn Thái Ngọc Duy1-95/+57
2009-04-20Fix off-by-one in read_tree_recursiveLibravatar Johannes Schindelin1-0/+1
2009-04-18Merge branch 'bs/maint-1.6.0-tree-walk-prefix' into maintLibravatar Junio C Hamano1-2/+6
2009-04-01match_tree_entry(): a pathspec only matches at directory boundariesLibravatar Junio C Hamano1-2/+6
2009-02-10Drop double-semicolon in CLibravatar Junio C Hamano1-1/+1
2009-02-07tree.c: allow read_tree_recursive() to traverse gitlink entriesLibravatar Lars Hjemli1-0/+28
2008-07-15add context pointer to read_tree_recursive()Libravatar René Scharfe1-6/+6
2008-03-02Merge branch 'mk/maint-parse-careful'Libravatar Junio C Hamano1-48/+0
2008-02-25Remove unused object-ref codeLibravatar Martin Koegler1-48/+0
2008-01-21Make on-disk index representation separate from in-core oneLibravatar Linus Torvalds1-2/+2
2007-08-10Optimize "diff --cached" performance.Libravatar Junio C Hamano1-3/+66
2007-06-06Merge branch 'sv/objfixes'Libravatar Junio C Hamano1-1/+6
2007-06-06Don't assume tree entries that are not dirs are blobsLibravatar Sam Vilain1-1/+6
2007-05-21rename dirlink to gitlink.Libravatar Martin Waitz1-2/+2
2007-04-21Merge branch 'lt/objalloc'Libravatar Junio C Hamano1-6/+2
2007-04-16Clean up object creation to use more common codeLibravatar Linus Torvalds1-6/+2
2007-04-10Teach "fsck" not to follow subproject linksLibravatar Linus Torvalds1-1/+14
2007-03-21Initialize tree descriptors with a helper function rather than by hand.Libravatar Linus Torvalds1-6/+3
2007-03-21Remove "pathlen" from "struct name_entry"Libravatar Linus Torvalds1-4/+5
2007-03-19Trivial cleanup of track_tree_refs()Libravatar Linus Torvalds1-3/+1
2007-02-27convert object type handling from a string to a numberLibravatar Nicolas Pitre1-3/+3
2006-12-20simplify inclusion of system header files.Libravatar Junio C Hamano1-1/+0
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Libravatar Shawn Pearce1-1/+1
2006-08-14Make track_tree_refs void.Libravatar David Rientjes1-2/+1
2006-07-12Remove TYPE_* constant macros and use object_type enums consistently.Libravatar Linus Torvalds1-6/+6
2006-06-19Add specialized object allocatorLibravatar Linus Torvalds1-1/+1
2006-06-17Shrink "struct object" a bitLibravatar Linus Torvalds1-8/+8
2006-05-30tree_entry(): new tree-walking helper functionLibravatar Linus Torvalds1-26/+15
2006-05-29Remove last vestiges of generic tree_entry_listLibravatar Linus Torvalds1-42/+0
2006-05-29Remove unused "zeropad" entry from tree_list_entryLibravatar Linus Torvalds1-2/+1
2006-05-29Remove "tree->entries" tree-entry list from tree parserLibravatar Linus Torvalds1-24/+57
2006-05-29Switch "read_tree_recursive()" over to tree-walk functionalityLibravatar Linus Torvalds1-13/+20
2006-05-29Make "tree_entry" have a SHA1 instead of a union of object pointersLibravatar Linus Torvalds1-11/+14
2006-05-29Make "struct tree" contain the pointer to the tree bufferLibravatar Linus Torvalds1-25/+22
2006-04-04Replace xmalloc+memset(0) with xcalloc.Libravatar Peter Eriksen1-5/+2
2006-01-26Only use a single parser for tree objectsLibravatar Daniel Barkalow1-30/+18
2006-01-07[PATCH] Compilation: zero-length array declaration.Libravatar Junio C Hamano1-1/+1
2005-12-04struct tree: remove unused field "parent"Libravatar Junio C Hamano1-1/+0
2005-11-28ls-tree: major rewrite to do pathspecLibravatar Linus Torvalds1-10/+24