aboutsummaryrefslogtreecommitdiffstats
path: root/bundle.c
AgeCommit message (Expand)AuthorFilesLines
2023-07-25Merge branch 'dk/bundle-i18n-more'Junio C Hamano1-2/+2
2023-07-13i18n: mark more bundle.c strings for translationD. Ben Knoble1-2/+2
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-04-11treewide: remove cache.h inclusion due to object.h changesElijah Newren1-1/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-2/+3
2023-03-28cocci: apply the "refs.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+2
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-21write-or-die.h: move declarations for write-or-die.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
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-02-22Merge branch 'ab/various-leak-fixes'Junio C Hamano1-2/+4
2023-02-06bundle.c: don't leak the "args" in the "struct child_process"Ævar Arnfjörð Bjarmason1-2/+4
2023-01-31bundle: verify using check_connected()Derrick Stolee1-46/+29
2022-10-12bundle-uri: quiet failed unbundlingsDerrick Stolee1-2/+8
2022-10-12bundle: add flags to verify_bundle()Derrick Stolee1-4/+5
2022-10-12bundle: properly clear all revision flagsDerrick Stolee1-13/+10
2022-06-07Merge branch 'ab/plug-leak-in-revisions'Junio C Hamano1-4/+8
2022-05-16bundle.h: make "fd" version of read_bundle_header() publicÆvar Arnfjörð Bjarmason1-4/+4
2022-04-13revisions API users: use release_revisions() needing REV_INFO_INITÆvar Arnfjörð Bjarmason1-4/+8
2022-03-23bundle: output hash information in 'verify'Derrick Stolee1-0/+2
2022-03-23bundle: move capabilities to end of 'verify'Derrick Stolee1-5/+4
2022-03-21Merge branch 'ds/partial-bundles'Junio C Hamano1-12/+62
2022-03-09bundle: unbundle promisor packsDerrick Stolee1-0/+4
2022-03-09bundle: create filtered bundlesDerrick Stolee1-11/+42
2022-03-09bundle: parse filter capabilityDerrick Stolee1-1/+14
2022-03-09list-objects: handle NULL function pointersÆvar Arnfjörð Bjarmason1-0/+2
2022-03-07string-list API: change "nr" and "alloc" to "size_t"Ævar Arnfjörð Bjarmason1-4/+4
2021-09-07bundle API: change "flags" to be "extra_index_pack_args"Ævar Arnfjörð Bjarmason1-6/+6
2021-07-06bundle: remove "ref_list" in favor of string-list.c APIÆvar Arnfjörð Bjarmason1-24/+28
2021-07-06bundle.c: use a temporary variable for OIDs and namesÆvar Arnfjörð Bjarmason1-8/+18
2021-01-11bundle: arguments can be read from stdinJiang Xin1-50/+59
2020-09-09Merge branch 'jt/interpret-branch-name-fallback'Junio C Hamano1-1/+1
2020-09-02wt-status: tolerate dangling marksJonathan Tan1-1/+1
2020-08-11Merge branch 'bc/sha-256-part-3'Junio C Hamano1-21/+62
2020-07-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-30bundle: add new version for use with SHA-256brian m. carlson1-21/+62
2020-07-28strvec: fix indentation in renamed callsJeff King1-5/+5
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-6/+6
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-06-19bundle: detect hash algorithm when reading refsbrian m. carlson1-1/+21
2019-11-11bundle-create: progress output controlRobin H. Johnson1-4/+5
2019-08-19bundle: switch to use the_hash_algobrian m. carlson1-2/+2
2019-05-28bundle verify: error out if called without an object databaseJohannes Schindelin1-0/+3
2019-01-24create_bundle(): drop unused "header" parameterJeff King1-2/+2
2019-01-04Merge branch 'nd/the-index'Junio C Hamano1-12/+14
2018-11-18Merge branch 'jk/close-duped-fd-before-unlock-for-bundle'Junio C Hamano1-21/+18
2018-11-17bundle: dup() output descriptor closer to point-of-useJeff King1-21/+18
2018-11-12bundle.c: remove the_repository referencesNguyễn Thái Ngọc Duy1-12/+14
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-2/+2
2018-09-21revision.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-2/+2
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-1/+2
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-1/+1
2018-06-29object: add repository argument to parse_objectStefan Beller1-2/+3
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-0/+1
2018-05-30Merge branch 'ma/lockfile-cleanup'Junio C Hamano1-1/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-10lock_file: make function-local locks non-staticMartin Ågren1-1/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-1/+1
2018-01-23Merge branch 'rs/lose-leak-pending'Junio C Hamano1-19/+16
2017-12-28bundle: avoid using the rev_info flag leak_pendingRené Scharfe1-19/+16
2017-10-16refs: convert dwim_ref and expand_ref to struct object_idbrian m. carlson1-1/+1
2017-10-16refs: convert read_ref and read_ref_full to object_idbrian m. carlson1-1/+1
2017-09-24leak_pending: use `object_array_clear()`, not `free()`Martin Ågren1-1/+8
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-18/+21
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-4/+6
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-1/+1
2017-05-02bundle: convert to struct object_idbrian m. carlson1-16/+17
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-1/+1
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin1-1/+1
2016-04-01bundle: don't leak an fd in case of early returnStefan Beller1-6/+17
2015-11-20Remove get_object_hash.brian m. carlson1-1/+1
2015-11-20Convert struct object to object_idbrian m. carlson1-9/+9
2015-11-20Add several uses of get_object_hash.brian m. carlson1-1/+1
2015-08-10create_bundle(): duplicate file descriptor to avoid closing it twiceMichael Haggerty1-10/+16
2015-03-10bundle.c: fix memory leakStefan Beller1-6/+5
2014-10-30bundle: split out ref writing from bundle_createJeff King1-39/+58
2014-10-30bundle: split out a helper function to compute and write prerequisitesJunio C Hamano1-24/+35
2014-10-30bundle: split out a helper function to create pack dataJunio C Hamano1-27/+37
2014-10-28use child_process_init() to initialize struct child_process variablesRené Scharfe1-1/+1
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-1/+1
2014-10-14Merge branch 'rs/plug-leak-in-bundle'Junio C Hamano1-7/+10
2014-10-07bundle: plug minor memory leak in is_tag_in_date_range()René Scharfe1-7/+10
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-09-19Merge branch 'lf/bundle-exclusion' into maintJunio C Hamano1-2/+2
2014-09-11Merge branch 'rs/child-process-init'Junio C Hamano1-4/+2
2014-09-09Merge branch 'lf/bundle-exclusion'Junio C Hamano1-2/+2
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-4/+2
2014-08-07bundle: fix exclusion of annotated tagsLukas Fleischer1-2/+2
2014-07-18bundle: use internal argv_array of struct child_process in create_bundle()René Scharfe1-10/+5
2014-04-03Merge branch 'nd/log-show-linear-break'Junio C Hamano1-0/+1
2014-03-25object.h: centralize object flag allocationNguyễn Thái Ngọc Duy1-0/+1
2014-03-18Merge branch 'sh/use-hashcpy'Junio C Hamano1-1/+1
2014-03-06Use hashcpy() when copying object namesSun He1-1/+1
2014-03-03bundle.c: use ALLOC_GROW() in add_to_ref_list()Dmitry S. Dolzhenko1-5/+1
2013-11-12bundle: use argv-arrayJunio C Hamano1-16/+16
2013-06-02object_array_entry: fix memory handling of the name fieldMichael Haggerty1-1/+1
2013-04-07bundle: Accept prerequisites without commit messagesLukas Fleischer1-1/+1
2013-04-03Merge branch 'jk/fully-peeled-packed-ref' into maint-1.8.1Junio C Hamano1-3/+3
2013-03-17avoid segfaults on parse_object failureJeff King1-3/+3
2013-03-08bundle: Add colons to list headings in "verify"Lukas Fleischer1-4/+4
2013-03-07bundle: Fix "verify" output if history is completeLukas Fleischer1-1/+1
2012-06-04tweak "bundle verify" of a complete historyJunio C Hamano1-6/+10
2012-05-02Merge branch 'nd/i18n'Junio C Hamano1-17/+21
2012-04-26Sync with 1.7.8.6Junio C Hamano1-1/+1
2012-04-26Sync with 1.7.7.7Junio C Hamano1-1/+1
2012-04-26bundle: remove stray single-quote from error messageJonathan Nieder1-1/+1
2012-04-24i18n: bundle: mark strings for translationNguyễn Thái Ngọc Duy1-17/+21
2012-03-12Merge branch 'tr/maint-bundle-boundary' into maintJunio C Hamano1-1/+1
2012-03-06Merge branch 'tr/maint-bundle-boundary'Junio C Hamano1-1/+1
2012-03-04Merge branch 'tr/maint-bundle-long-subject' into maintJunio C Hamano1-26/+10
2012-03-01bundle: keep around names passed to add_pending_object()Thomas Rast1-1/+1
2012-02-26Merge branch 'tr/maint-bundle-long-subject'Junio C Hamano1-26/+10
2012-02-23bundle: use a strbuf to scan the log for boundary commitsThomas Rast1-7/+8
2012-02-22bundle: put strbuf_readline_fd in strbuf.c with adjustmentsThomas Rast1-19/+2
2012-01-03Merge branch 'maint'Junio C Hamano1-2/+2
2012-01-03fix hang in git fetch if pointed at a 0 length bundleBrian Harring1-2/+2
2011-11-13Convert many resolve_ref() calls to read_ref*() and ref_exists()Nguyễn Thái Ngọc Duy1-1/+1
2011-10-21Merge branch 'jc/unseekable-bundle'Junio C Hamano1-36/+88
2011-10-13Merge branch 'rs/pending'Junio C Hamano1-7/+4
2011-10-13bundle: add parse_bundle_header() helper functionJunio C Hamano1-8/+31
2011-10-13bundle: allowing to read from an unseekable fdJunio C Hamano1-35/+64
2011-10-03commit: factor out clear_commit_marks_for_object_arrayRené Scharfe1-2/+1
2011-10-03bundle: use leak_pending flagRené Scharfe1-5/+3
2011-09-19Teach progress eye-candy to fetch_refs_from_bundle()Junio C Hamano1-2/+5
2011-02-06bundle: Use OFS_DELTA in bundle filesShawn O. Pearce1-2/+3
2010-08-27bundle: detect if bundle file cannot be createdCsaba Henk1-2/+4
2009-11-23Merge branch 'jc/log-stdin'Junio C Hamano1-10/+2
2009-11-23pack-objects: split implications of --all-progress from progress activationNicolas Pitre1-1/+1
2009-11-20Teach --stdin option to "log" familyJunio C Hamano1-10/+2
2009-09-13don't dereference NULL upon fdopen failureJim Meyering1-1/+1
2009-05-21Terminate argv with NULL before calling setup_revisions()Nguyễn Thái Ngọc Duy1-1/+1
2009-01-25Merge branch 'js/maint-all-implies-HEAD'Junio C Hamano1-0/+2
2009-01-17bundle: allow the same ref to be given more than onceJunio C Hamano1-0/+2
2009-01-05bundle: allow rev-list options to exclude annotated tagsJohannes Schindelin1-0/+32
2008-11-11Fix non-literal format in printf-style callsDaniel Lowe1-2/+2
2008-10-19Enhance hold_lock_file_for_{update,append}() APIJunio C Hamano1-1/+2
2008-07-07Teach git-bundle to read revision arguments from stdin like git-rev-list.Adam Brewster1-2/+11
2008-02-23start_command(), if .in/.out > 0, closes file descriptors, not the callersJohannes Sixt1-2/+3
2008-02-23start_command(), .in/.out/.err = -1: Callers must close the file descriptorJohannes Sixt1-0/+1
2008-02-17check return code of prepare_revision_walkMartin Koegler1-1/+2
2008-01-16Improve use of lockfile APIBrandon Casey1-4/+10
2008-01-10bundle, fast-import: detect write failureJim Meyering1-3/+3
2008-01-04Don't access line[-1] for a zero-length "line" from fgets.Jim Meyering1-1/+1
2007-11-22Merge branch 'maint'Junio C Hamano1-1/+8
2007-11-08Style: place opening brace of a function definition at column 1Junio C Hamano1-1/+2
2007-09-19Move bundle specific stuff into bundle.[ch]Johannes Schindelin1-0/+343