aboutsummaryrefslogtreecommitdiffstats
path: root/builtin-pack-objects.c
AgeCommit message (Expand)AuthorFilesLines
2009-01-21Merge branch 'lt/maint-wrap-zlib'Junio C Hamano1-3/+3
2009-01-11Wrap inflate and other zlib routines for better error reportingLinus Torvalds1-3/+3
2008-12-13pack-objects: don't use too many threads with few objectsNicolas Pitre1-0/+4
2008-12-12autodetect number of CPUs by default when using threadsNicolas Pitre1-1/+4
2008-12-11Merge branch 'maint'Junio C Hamano1-0/+1
2008-12-10make sure packs to be replaced are closed beforehandNicolas Pitre1-0/+1
2008-12-02Merge branch 'bc/maint-keep-pack' into maintJunio C Hamano1-0/+10
2008-11-12Merge branch 'np/pack-safer'Junio C Hamano1-19/+58
2008-11-12Merge branch 'bc/maint-keep-pack'Junio C Hamano1-0/+10
2008-11-12Merge branch 'maint'Junio C Hamano1-2/+10
2008-11-12Fix pack.packSizeLimit and --max-pack-size handlingNicolas Pitre1-2/+10
2008-11-12pack-objects: extend --local to mean ignore non-local loose objects tooBrandon Casey1-0/+3
2008-11-12pack-objects: new option --honor-pack-keepBrandon Casey1-0/+7
2008-11-02pack-objects: don't leak pack window reference when splitting packsNicolas Pitre1-3/+9
2008-11-02pack-objects: allow "fixing" a corrupted pack without a full repackNicolas Pitre1-9/+19
2008-11-02make find_pack_revindex() aware of the nasty worldNicolas Pitre1-0/+2
2008-11-02make check_object() resilient to pack corruptionsNicolas Pitre1-6/+17
2008-11-02make unpack_object_header() non fatalNicolas Pitre1-1/+1
2008-11-02better validation on delta base object offsetsNicolas Pitre1-2/+2
2008-11-02close another possibility for propagating pack corruptionNicolas Pitre1-0/+10
2008-11-02Merge branch 'maint'Junio C Hamano1-1/+2
2008-11-01pack-objects: avoid reading uninitalized dataJeff King1-1/+2
2008-10-08Replace xmalloc/memset(0) pairs with xcallocBrandon Casey1-3/+1
2008-09-23Merge branch 'maint'Junio C Hamano1-1/+1
2008-09-22Do not perform cross-directory renames when creating packsPetr Baudis1-1/+1
2008-09-18Merge branch 'np/pack'Junio C Hamano1-0/+8
2008-09-15Start conforming code to "git subcmd" style part 3Heikki Orsila1-2/+2
2008-09-10Merge branch 'np/maint-safer-pack' into maintJunio C Hamano1-19/+15
2008-09-02pack-objects: don't include missing preferred base objectsNicolas Pitre1-0/+8
2008-09-02Merge branch 'np/maint-safer-pack' into np/packJunio C Hamano1-19/+15
2008-08-30Merge branch 'sp/missing-thin-base' into maintJunio C Hamano1-4/+11
2008-08-29pack-objects: use fixup_pack_header_footer()'s validation modeNicolas Pitre1-2/+2
2008-08-29improve reliability of fixup_pack_header_footer()Nicolas Pitre1-1/+2
2008-08-29pack-objects: improve returned information from write_one()Nicolas Pitre1-17/+12
2008-08-27index-pack: be careful after fixing up the header/footerLinus Torvalds1-1/+0
2008-08-12pack-objects: Allow missing base objects when creating thin packsShawn O. Pearce1-4/+11
2008-07-05Fix some warnings (on cygwin) to allow -WerrorRamsay Jones1-5/+10
2008-06-24verify-pack: check packed object CRC when using index version 2Nicolas Pitre1-22/+0
2008-06-23call init_pack_revindex() lazilyNicolas Pitre1-2/+0
2008-05-31Remove now unnecessary 'sync()' callsLinus Torvalds1-3/+4
2008-05-31Make pack creation always fsync() the resultLinus Torvalds1-1/+3
2008-05-25Merge branch 'js/config-cb'v1.5.6-rc0Junio C Hamano1-3/+3
2008-05-23Merge branch 'bc/repack'Junio C Hamano1-2/+38
2008-05-14Provide git_config with a callback-data parameterJohannes Schindelin1-3/+3
2008-05-13let pack-objects do the writing of unreachable objects as loose objectsNicolas Pitre1-2/+38
2008-05-03pack-objects: fix early eviction for max depth delta objectsNicolas Pitre1-1/+1
2008-05-03pack-objects: allow for early delta deflatingNicolas Pitre1-1/+36
2008-05-03pack-objects: move compression code in a separate functionNicolas Pitre1-24/+29
2008-05-03pack-objects: clean up write_object() a bitNicolas Pitre1-31/+33
2008-05-03pack-objects: simplify the condition associated with --all-progressNicolas Pitre1-2/+1
2008-05-03pack-objects: remove some double negative logicNicolas Pitre1-8/+9
2008-05-03pack-objects: small cleanupNicolas Pitre1-14/+13
2008-03-13pack-objects: proper pack time stamping with --max-pack-sizeNicolas Pitre1-0/+26
2008-03-04git-pack-objects: Automatically pack annotated tags if object was packedShawn O. Pearce1-2/+22
2008-03-02Merge branch 'np/verify-pack'Junio C Hamano1-150/+10
2008-03-02Merge branch 'mk/maint-parse-careful'Junio C Hamano1-1/+0
2008-03-01factorize revindex code out of builtin-pack-objects.cNicolas Pitre1-150/+10
2008-02-27Merge branch 'jm/free'Junio C Hamano1-2/+1
2008-02-26Revert "pack-objects: Print a message describing the number of threads for pa...Junio C Hamano1-3/+0
2008-02-25Remove unused object-ref codeMartin Koegler1-1/+0
2008-02-23pack-objects: Print a message describing the number of threads for packingBrandon Casey1-0/+3
2008-02-23pack-objects: Add runtime detection of online CPU'sAndreas Ericsson1-4/+10
2008-02-22Avoid unnecessary "if-before-free" tests.Jim Meyering1-2/+1
2008-02-17check return code of prepare_revision_walkMartin Koegler1-1/+2
2008-02-13Merge branch 'maint'Junio C Hamano1-11/+2
2008-02-12Revert "pack-objects: only throw away data during memory pressure"Junio C Hamano1-11/+2
2008-02-11Merge branch 'maint'Junio C Hamano1-2/+11
2008-02-11pack-objects: only throw away data during memory pressureMartin Koegler1-2/+11
2008-02-09Introduce the config variable pack.packSizeLimitJohannes Schindelin1-1/+9
2008-01-21pack-objects: Fix segfault when object count is less than thread countNicolas Pitre1-1/+2
2008-01-10pack-objects: remove redundant and wrong call to deflateEnd()Junio C Hamano1-1/+1
2008-01-04Don't access line[-1] for a zero-length "line" from fgets.Jim Meyering1-1/+1
2007-12-17Plug a resource leak in threaded pack-objects code.Johannes Sixt1-2/+2
2007-12-16threaded pack-objects: Use condition variables for thread communication.Johannes Sixt1-50/+79
2007-12-10pack-objects: more threaded load balancing fix with often changed pathsNicolas Pitre1-0/+10
2007-12-08pack-objects: fix threaded load balancingNicolas Pitre1-32/+85
2007-12-08pack-objects: reverse the delta search sort listNicolas Pitre1-20/+21
2007-12-08pack-objects: fix delta cache size accountingNicolas Pitre1-5/+5
2007-11-14Fix rev-list when showing objects involving submodulesLinus Torvalds1-1/+1
2007-11-04Merge branch 'np/pack'Junio C Hamano1-7/+12
2007-11-02pack-objects: get rid of an ugly castNicolas Pitre1-6/+6
2007-11-02make the pack index version configurableNicolas Pitre1-0/+6
2007-10-30add throughput display to git-pushNicolas Pitre1-1/+1
2007-10-30relax usage of the progress APINicolas Pitre1-12/+6
2007-10-30make struct progress an opaque typeNicolas Pitre1-8/+8
2007-10-18Change 'Deltifying objects' to 'Compressing objects'Shawn O. Pearce1-1/+1
2007-10-17fix const issues with some functionsNicolas Pitre1-1/+1
2007-10-17pack-objects.c: fix some global variable abuse and memory leaksNicolas Pitre1-14/+15
2007-10-17pack-objects: no delta possible with only one object in the listNicolas Pitre1-1/+1
2007-10-17more compact progress displayNicolas Pitre1-11/+5
2007-10-03Merge branch 'jc/autogc'Junio C Hamano1-2/+93
2007-09-17pack-objects --keep-unreachableJunio C Hamano1-2/+93
2007-09-14builtin-pack-objects.c: avoid bogus gcc warningsJunio C Hamano1-6/+6
2007-09-12threaded delta search: proper locking for cache accountingNicolas Pitre1-4/+20
2007-09-10threaded delta search: add pack.threads config variableNicolas Pitre1-0/+11
2007-09-10fix threaded delta search lockingNicolas Pitre1-5/+6
2007-09-09threaded delta search: specify number of threads at run timeNicolas Pitre1-5/+21
2007-09-09threaded delta search: better chunck split pointNicolas Pitre1-0/+5
2007-09-09threaded delta search: refine work allocationNicolas Pitre1-14/+45
2007-09-06basic threaded delta searchNicolas Pitre1-1/+82
2007-09-06rearrange delta search progress reportingNicolas Pitre1-9/+14
2007-09-05localize window memory usage accountingNicolas Pitre1-14/+14
2007-09-05straighten the list of objects to deltifyNicolas Pitre1-35/+42
2007-09-01Keep last used delta base in the delta windowJunio C Hamano1-2/+23
2007-08-30fix same sized delta logicNicolas Pitre1-4/+8
2007-08-25pack-objects: check return value from read_sha1_file()Junio C Hamano1-0/+6
2007-08-19Make thin-pack generation subproject aware.Linus Torvalds1-0/+2
2007-08-15pack-objects: remove bogus arguments to delta_cacheable()Nicolas Pitre1-4/+3
2007-08-14Use xmkstemp() instead of mkstemp()Luiz Fernando N. Capitulino1-3/+1
2007-07-12Pack-objects: properly initialize the depth valueNicolas Pitre1-0/+1
2007-07-12reduce git-pack-objects memory usage a little moreNicolas Pitre1-10/+9
2007-07-12Add pack-objects window memory usage limitBrian Downing1-8/+44
2007-07-12Don't try to delta if target is much smaller than sourceBrian Downing1-0/+2
2007-07-12apply delta depth bias to already deltified objectsNicolas Pitre1-4/+10
2007-07-08pack-objects: Prefer shallower deltas if the size is equalBrian Downing1-1/+7
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-06-02Unify write_index_file functionsGeert Bosch1-170/+52
2007-05-30fix repack with --max-pack-sizeNicolas Pitre1-18/+11
2007-05-29builtin-pack-object: cache small deltasMartin Koegler1-0/+8
2007-05-29git-pack-objects: cache small deltas between big objectsMartin Koegler1-15/+54
2007-05-29builtin-pack-objects: don't fail, if delta is not possibleMartin Koegler1-2/+6
2007-05-29Merge branch 'dh/repack' (early part)Junio C Hamano1-105/+224
2007-05-23pack-objects: clarification & option checks for --max-pack-sizeDana How1-0/+9
2007-05-22builtin-pack-objects: remove unnecessary code for no-deltaJunio C Hamano1-2/+0
2007-05-21Teach "delta" attribute to pack-objects.Junio C Hamano1-1/+34
2007-05-21pack-objects: pass fullname down to add_object_entry()Junio C Hamano1-13/+14
2007-05-20git-repack --max-pack-size: add option parsing to enable featureDana L. How1-1/+8
2007-05-20git-repack --max-pack-size: split packs as asked by write_{object,one}()Dana L. How1-49/+71
2007-05-20git-repack --max-pack-size: write_{object,one}() respect pack limitDana L. How1-27/+104
2007-05-20git-repack --max-pack-size: new file statics and code restructuringDana L. How1-32/+36
2007-05-20Merge branch 'dh/pack'Junio C Hamano1-1/+27
2007-05-10Custom compression levels for objects and packsDana How1-2/+31
2007-05-10deprecate the new loose object header formatNicolas Pitre1-69/+0
2007-05-10allow for undeltified objects not to be reusedNicolas Pitre1-8/+14
2007-05-08Increase pack.depth default to 50Theodore Ts'o1-1/+1
2007-05-08Add pack.depth option to git-pack-objects.Theodore Ts'o1-1/+5
2007-05-07Use GIT_OBJECT_DIR for temporary files of pack-objectsAlex Riesen1-6/+8
2007-04-22make progress "title" part of the common progress interfaceNicolas Pitre1-12/+7
2007-04-22common progress display supportNicolas Pitre1-62/+21
2007-04-22pack-objects: make generated packfile read-onlyJunio C Hamano1-1/+1
2007-04-22Fix 'quickfix' on pack-objects.Junio C Hamano1-2/+14
2007-04-22pack-objects: quickfix for permission modes.Junio C Hamano1-0/+6
2007-04-19pack-objects: remove obsolete commentsNicolas Pitre1-11/+3
2007-04-16pack-objects: better check_object() performancesNicolas Pitre1-80/+126
2007-04-16pack-objects: make in_pack_header_size a variable of its ownNicolas Pitre1-14/+12
2007-04-16pack-objects: get rid of create_final_object_list()Nicolas Pitre1-55/+72
2007-04-16pack-objects: get rid of reuse_cached_packNicolas Pitre1-72/+14
2007-04-16pack-objects: clean up list sortingNicolas Pitre1-31/+22
2007-04-16pack-objects: rework check_delta_limit usageNicolas Pitre1-44/+32
2007-04-16pack-objects: equal objects in size should delta against newer objectsNicolas Pitre1-1/+1
2007-04-16pack-objects: optimize preferred base handling a bitNicolas Pitre1-15/+12
2007-04-11clean up add_object_entry()Nicolas Pitre1-27/+25
2007-04-10validate reused pack data with CRC when possibleNicolas Pitre1-12/+34
2007-04-10allow forcing index v2 and 64-bit offset tresholdNicolas Pitre1-3/+17
2007-04-10pack-objects: learn about pack index version 2Nicolas Pitre1-12/+87
2007-04-10compute a CRC32 for each object as stored in a packNicolas Pitre1-0/+6
2007-04-10add overflow tests on pack offset variablesNicolas Pitre1-6/+13
2007-04-10make overflow test on delta base offset work regardless of variable sizeNicolas Pitre1-1/+1
2007-04-10get rid of num_packed_objects()Nicolas Pitre1-2/+2
2007-04-05clean up and optimize nth_packed_object_sha1() usageNicolas Pitre1-1/+1
2007-03-21Initialize tree descriptors with a helper function rather than by hand.Linus Torvalds1-4/+2
2007-03-21Remove "pathlen" from "struct name_entry"Linus Torvalds1-1/+1
2007-03-16[PATCH] clean up pack index handling a bitNicolas Pitre1-6/+8
2007-03-07Use off_t in pack-objects/fast-import when we mean an offsetShawn O. Pearce1-26/+26
2007-03-07Use uint32_t for pack-objects counters.Shawn O. Pearce1-33/+30
2007-02-27convert object type handling from a string to a numberNicolas Pitre1-17/+15
2007-02-27formalize typename(), and add its reverse type_from_string()Nicolas Pitre1-12/+1
2007-02-25Merge branch 'maint'Junio C Hamano1-3/+9
2007-02-25Allow arbitrary number of arguments to git-pack-objectsRoland Dreier1-3/+9
2007-02-20prefixcmp(): fix-up mechanical conversion.Junio C Hamano1-3/+3
2007-02-20Mechanical conversion to use prefixcmp()Junio C Hamano1-3/+3
2007-01-18Use fixed-size integers for .idx file I/OJunio C Hamano1-3/+3
2006-12-29pack-objects: fix use of use_pack().Junio C Hamano1-2/+5
2006-12-29Fix random segfaults in pack-objects.Shawn O. Pearce1-3/+4
2006-12-29Loop over pack_windows when inflating/accessing data.Shawn O. Pearce1-6/+52
2006-12-29Replace use_packed_git with window cursors.Shawn O. Pearce1-9/+7
2006-12-29Refactor packed_git to prepare for sliding mmap windows.Shawn O. Pearce1-2/+2
2006-12-20Teach git-repack to preserve objects referred to by reflog entries.Junio C Hamano1-1/+2
2006-12-20simplify inclusion of system header files.Junio C Hamano1-2/+0
2006-11-29pack-objects: remove redundent status informationNicolas Pitre1-2/+4
2006-11-17pack-objects: tweak "do not even attempt delta" heuristicsJunio C Hamano1-1/+3
2006-11-07git-pack-objects progress flag documentation and cleanupNicolas Pitre1-9/+10
2006-11-01make git-push a bit more verboseNicolas Pitre1-7/+11
2006-10-10pack-objects: document --delta-base-offset optionJunio C Hamano1-1/+1
2006-09-27allow delta data reuse even if base object is a preferred baseNicolas Pitre1-1/+1
2006-09-27zap a debug remnantNicolas Pitre1-1/+0
2006-09-27make pack data reuse compatible with both delta typesNicolas Pitre1-74/+130
2006-09-27make git-pack-objects able to create deltas with offset to baseNicolas Pitre1-14/+33
2006-09-27introduce delta objects with offset to baseNicolas Pitre1-8/+8
2006-09-23many cleanups to sha1_file.cNicolas Pitre1-4/+4
2006-09-12pack-objects: document --revs, --unpacked and --all.Junio C Hamano1-1/+1
2006-09-07pack-objects: further work on internal rev-list logic.Junio C Hamano1-60/+39
2006-09-07pack-objects: run rev-list equivalent internally.Junio C Hamano1-82/+215
2006-09-03more lightweight revalidation while reusing deflated stream in packingJunio C Hamano1-29/+52
2006-09-03pack-objects: fix thinko in revalidate codeJunio C Hamano1-6/+7
2006-09-02pack-objects: re-validate data we copy from elsewhere.Junio C Hamano1-4/+63
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-3/+3
2006-08-17Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length.David Rientjes1-4/+4
2006-08-15remove unnecessary initializationsDavid Rientjes1-14/+14
2006-08-12Merge branch 'jc/pack-objects'Junio C Hamano1-0/+16