aboutsummaryrefslogtreecommitdiffstats
path: root/tree.c
AgeCommit message (Expand)AuthorFilesLines
2013-09-17Merge branch 'jk/free-tree-buffer'Junio C Hamano1-0/+8
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-2/+2
2013-07-15checkout: convert read_tree_some to take struct pathspecNguyễn Thái Ngọc Duy1-2/+2
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-1/+1
2013-06-06clear parsed flag when we free tree buffersJeff King1-0/+8
2012-07-11Strip namelen out of ce_flags into a ce_namelen fieldThomas Gummerer1-3/+4
2011-10-27tree_entry_interesting(): give meaningful names to return valuesNguyễn Thái Ngọc Duy1-4/+5
2011-10-27tree-walk.c: do not leak internal structure in tree_entry_len()Nguyễn Thái Ngọc Duy1-1/+1
2011-03-25Convert read_tree{,_recursive} to support struct pathspecNguyễn Thái Ngọc Duy1-9/+4
2011-03-25Reimplement read_tree_recursive() using tree_entry_interesting()Nguyễn Thái Ngọc Duy1-95/+57
2009-04-20Fix off-by-one in read_tree_recursiveJohannes Schindelin1-0/+1
2009-04-18Merge branch 'bs/maint-1.6.0-tree-walk-prefix' into maintJunio C Hamano1-2/+6
2009-04-01match_tree_entry(): a pathspec only matches at directory boundariesJunio C Hamano1-2/+6
2009-02-10Drop double-semicolon in CJunio C Hamano1-1/+1
2009-02-07tree.c: allow read_tree_recursive() to traverse gitlink entriesLars Hjemli1-0/+28
2008-07-15add context pointer to read_tree_recursive()René Scharfe1-6/+6
2008-03-02Merge branch 'mk/maint-parse-careful'Junio C Hamano1-48/+0
2008-02-25Remove unused object-ref codeMartin Koegler1-48/+0
2008-01-21Make on-disk index representation separate from in-core oneLinus Torvalds1-2/+2
2007-08-10Optimize "diff --cached" performance.Junio C Hamano1-3/+66
2007-06-06Merge branch 'sv/objfixes'Junio C Hamano1-1/+6
2007-06-06Don't assume tree entries that are not dirs are blobsSam Vilain1-1/+6
2007-05-21rename dirlink to gitlink.Martin Waitz1-2/+2
2007-04-21Merge branch 'lt/objalloc'Junio C Hamano1-6/+2
2007-04-16Clean up object creation to use more common codeLinus Torvalds1-6/+2
2007-04-10Teach "fsck" not to follow subproject linksLinus Torvalds1-1/+14
2007-03-21Initialize tree descriptors with a helper function rather than by hand.Linus Torvalds1-6/+3
2007-03-21Remove "pathlen" from "struct name_entry"Linus Torvalds1-4/+5
2007-03-19Trivial cleanup of track_tree_refs()Linus Torvalds1-3/+1
2007-02-27convert object type handling from a string to a numberNicolas Pitre1-3/+3
2006-12-20simplify inclusion of system header files.Junio C Hamano1-1/+0
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-1/+1
2006-08-14Make track_tree_refs void.David Rientjes1-2/+1
2006-07-12Remove TYPE_* constant macros and use object_type enums consistently.Linus Torvalds1-6/+6
2006-06-19Add specialized object allocatorLinus Torvalds1-1/+1
2006-06-17Shrink "struct object" a bitLinus Torvalds1-8/+8
2006-05-30tree_entry(): new tree-walking helper functionLinus Torvalds1-26/+15
2006-05-29Remove last vestiges of generic tree_entry_listLinus Torvalds1-42/+0
2006-05-29Remove unused "zeropad" entry from tree_list_entryLinus Torvalds1-2/+1
2006-05-29Remove "tree->entries" tree-entry list from tree parserLinus Torvalds1-24/+57
2006-05-29Switch "read_tree_recursive()" over to tree-walk functionalityLinus Torvalds1-13/+20
2006-05-29Make "tree_entry" have a SHA1 instead of a union of object pointersLinus Torvalds1-11/+14
2006-05-29Make "struct tree" contain the pointer to the tree bufferLinus Torvalds1-25/+22
2006-04-04Replace xmalloc+memset(0) with xcalloc.Peter Eriksen1-5/+2
2006-01-26Only use a single parser for tree objectsDaniel Barkalow1-30/+18
2006-01-07[PATCH] Compilation: zero-length array declaration.Junio C Hamano1-1/+1
2005-12-04struct tree: remove unused field "parent"Junio C Hamano1-1/+0
2005-11-28ls-tree: major rewrite to do pathspecLinus Torvalds1-10/+24
2005-11-15Rework object refs tracking to reduce memory usageSergey Vlasov1-1/+12
2005-09-10[PATCH] Add a function for getting a struct tree for an ent.Daniel Barkalow1-0/+21
2005-07-27git-fsck-cache: be stricter about "tree" objectsLinus Torvalds1-0/+1
2005-07-14Fix up read_tree() pathspec matching to use "const char **"Linus Torvalds1-4/+6
2005-07-14Start adding interfaces to read in partial treesLinus Torvalds1-4/+51
2005-06-25[PATCH] Fix oversimplified optimization for add_cache_entry().Junio C Hamano1-1/+1
2005-06-08[PATCH] Anal retentive 'const unsigned char *sha1'Jason McMullan1-1/+1
2005-05-29[PATCH] Rewrite ls-tree to behave more like "/bin/ls -a"Junio C Hamano1-1/+1
2005-05-20[PATCH] delta checkNicolas Pitre1-0/+2
2005-05-11[PATCH] read_tree_recursive(): Fix leaksJonas Fonseca1-2/+5
2005-05-07Add git-update-cache --replace option.Junio C Hamano1-1/+1
2005-05-06[PATCH] don't load and decompress objects twice with parse_object()Nicolas Pitre1-17/+27
2005-05-05Be more careful about tree entry modes.Linus Torvalds1-2/+4
2005-05-04[PATCH] Fix memory leaks in git-fsck-cacheSergey Vlasov1-2/+7
2005-05-02Make fsck-cache do better tree checking.Linus Torvalds1-5/+0
2005-04-26[PATCH] introduce xmalloc and xreallocChristopher Li1-4/+4
2005-04-24Don't add references to objects we couldn't find. Linus Torvalds1-1/+2
2005-04-24Verify that the object type matches for tree/commit objects even before parsing.Linus Torvalds1-1/+1
2005-04-24Set object type at object creation time, not object parse time.Linus Torvalds1-1/+1
2005-04-23[PATCH] Parse tree objects completelyDaniel Barkalow1-3/+17
2005-04-22Move "read_tree()" to "tree.c" to be used as a generic helper function.Linus Torvalds1-0/+65
2005-04-18[PATCH] Implementations of parsing functionsDaniel Barkalow1-0/+67