aboutsummaryrefslogtreecommitdiffstats
path: root/archive.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano1-1/+2
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-1/+1
2023-12-26archive.h: remove unnecessary includeElijah Newren1-0/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-12-21archive: "--list" does not take further optionsJunio C Hamano1-0/+2
2023-10-02tree-walk: init_tree_desc take an oid to get the hash algorithmEric W. Biederman1-1/+2
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
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-05-17Merge branch 'jc/attr-source-tree'Junio C Hamano1-1/+1
2023-05-09Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano1-0/+2
2023-05-06attr: teach "--attr-source=<tree>" global option to "git"John Cai1-1/+1
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+1
2023-04-24commit.h: reduce unnecessary includesElijah Newren1-0/+2
2023-04-21Merge branch 'rs/archive-from-subdirectory-fixes'Junio C Hamano1-21/+54
2023-04-11treewide: be explicit about dependence on convert.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-0/+4
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-5/+7
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-5/+7
2023-03-28cocci: apply the "refs.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-2/+3
2023-03-28cocci: apply the "pretty.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-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-24archive: improve support for running in subdirectoryRené Scharfe1-21/+54
2023-03-21setup.h: move declarations for setup.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-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-03-17Merge branch 'en/header-cleanup'Junio C Hamano1-1/+3
2023-02-27Merge branch 'rs/archive-mtime'Junio C Hamano1-0/+7
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-1/+2
2023-02-18archive: add --mtimeRené Scharfe1-0/+7
2023-02-06various: add missing clear_pathspec(), fix leaksÆvar Arnfjörð Bjarmason1-0/+1
2023-01-14attr: add flag `--source` to work with tree-ishKarthik Nayak1-1/+1
2022-10-27Merge branch 'jk/unused-anno-more'Junio C Hamano1-1/+1
2022-10-19Merge branch 'rs/archive-dedup-printf'Junio C Hamano1-5/+3
2022-10-17string-list: mark unused callback parametersJeff King1-1/+1
2022-10-11archive: deduplicate verbose printingRené Scharfe1-5/+3
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-1/+1
2022-08-19mark unused read_tree_recursive() callback parametersJeff King1-1/+2
2022-05-30archive --add-virtual-file: allow paths containing colonsJohannes Schindelin1-10/+20
2022-05-30archive: optionally add "virtual" filesJohannes Schindelin1-19/+58
2022-05-23Merge branch 'jc/archive-add-file-normalize-mode'Junio C Hamano1-1/+1
2022-05-20Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano1-1/+1
2022-05-12archive: do not let on-disk mode leak to zip archivesJunio C Hamano1-1/+1
2022-05-02Merge branch 'ep/maint-equals-null-cocci' for maint-2.35Junio C Hamano1-1/+1
2022-05-02tree-wide: apply equals-null.cocciJunio C Hamano1-1/+1
2022-02-04i18n: remove from i18n strings that do not hold translatable partsJean-Noël Avila1-1/+1
2022-01-05i18n: factorize "--foo requires --bar" and the likeJean-Noël Avila1-1/+1
2022-01-05i18n: standardize "cannot open" and "cannot read"Jean-Noël Avila1-2/+2
2022-01-05i18n: turn "options are incompatible" into "cannot be used together"Jean-Noël Avila1-1/+1
2021-08-27archive: convert queue_directory to struct object_idRené Scharfe1-4/+3
2021-07-01string-list.h users: change to use *_{nodup,dup}()Ævar Arnfjörð Bjarmason1-1/+1
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-1/+3
2021-04-27Always use oidread to read into struct object_idbrian m. carlson1-1/+1
2021-03-30Merge branch 'ab/read-tree'Junio C Hamano1-16/+14
2021-03-20tree.h API: simplify read_tree_recursive() signatureÆvar Arnfjörð Bjarmason1-9/+9
2021-03-20archive: stop passing "stage" through read_tree_recursive()Ævar Arnfjörð Bjarmason1-9/+7
2021-03-11archive: expand only a single %(describe) per archiveRené Scharfe1-6/+10
2020-11-25Merge branch 'rs/archive-plug-leak-refname'Junio C Hamano1-0/+1
2020-11-16archive: release refname after useRené Scharfe1-0/+1
2020-11-09archive: support compression levels beyond 9René Scharfe1-15/+11
2020-09-19archive: add --add-fileRené Scharfe1-1/+85
2020-09-19archive: read short blobs in archive.c::write_archive_entry()René Scharfe1-7/+24
2020-09-02wt-status: tolerate dangling marksJonathan Tan1-2/+2
2020-03-16convert: provide additional metadata to filtersbrian m. carlson1-3/+10
2020-03-16convert: permit passing additional metadata to filter processesbrian m. carlson1-1/+1
2019-06-27tree-walk.c: remove the_repo from get_tree_entry()Nguyễn Thái Ngọc Duy1-1/+3
2019-05-09Merge branch 'en/merge-directory-renames'Junio C Hamano1-1/+1
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesElijah Newren1-1/+1
2019-04-01archive: convert struct archiver_args to object_idbrian m. carlson1-4/+4
2019-01-14Merge branch 'nd/indentation-fix'Junio C Hamano1-2/+2
2019-01-14Merge branch 'nd/attr-pathspec-in-tree-walk'Junio C Hamano1-2/+4
2019-01-04Merge branch 'nd/i18n'Junio C Hamano1-4/+4
2018-12-09Indent code with TABsNguyễn Thái Ngọc Duy1-2/+2
2018-11-19tree.c: make read_tree*() take 'struct repository *'Nguyễn Thái Ngọc Duy1-2/+4
2018-11-12archive.c: mark more strings for translationNguyễn Thái Ngọc Duy1-4/+4
2018-10-26archive: initialize archivers earlierJosh Steadmon1-3/+6
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-1/+1
2018-09-17archive.c: remove implicit dependency the_repositoryNguyễn Thái Ngọc Duy1-1/+1
2018-09-12Make git_check_attr() a void functionTorsten Bögershausen1-1/+2
2018-08-13archive.c: avoid access to the_indexNguyễn Thái Ngọc Duy1-16/+29
2018-08-13attr: remove index from git_attr_set_direction()Nguyễn Thái Ngọc Duy1-1/+1
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy1-1/+1
2018-08-13convert.c: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-08-13attr: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-1/+1
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-0/+1
2018-05-24Use OPT_SET_INT_F() for cmdline option specificationNguyễn Thái Ngọc Duy1-4/+2
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-1/+1
2018-03-14tree-walk: convert tree entry functions to object_idbrian m. carlson1-2/+2
2018-03-14archive: convert sha1_file_to_archive to struct object_idbrian m. carlson1-5/+5
2018-03-14archive: convert write_archive_entry_fn_t to object_idbrian m. carlson1-6/+6
2018-03-14tree: convert read_tree_recursive to struct object_idbrian m. carlson1-4/+4
2017-10-16refs: convert dwim_ref and expand_ref to struct object_idbrian m. carlson1-1/+1
2017-09-25Merge branch 'rs/archive-excluded-directory'Junio C Hamano1-17/+2
2017-09-14archive: don't add empty directories to archivesRené Scharfe1-17/+2
2017-09-06Merge branch 'rs/archive-excluded-directory'Junio C Hamano1-8/+41
2017-08-19archive: don't queue excluded directoriesRené Scharfe1-7/+25
2017-08-19archive: factor out helper functions for handling attributesRené Scharfe1-8/+23
2017-07-17sha1_name: convert get_sha1* to get_oid*brian m. carlson1-1/+1
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-2/+2
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-1/+1
2017-02-01attr: convert git_check_attrs() callers to use the new APIJunio C Hamano1-18/+6
2017-02-01attr: rename function and struct related to checking attributesJunio C Hamano1-3/+3
2016-11-22archive: read local configurationJunio C Hamano1-6/+2
2016-08-09i18n: archive: mark errors for translationVasco Almeida1-5/+5
2016-06-02pathspec: rename free_pathspec() to clear_pathspec()Junio C Hamano1-1/+1
2016-02-22use st_add and st_mult for allocation size computationJeff King1-2/+2
2015-11-20Remove get_object_hash.brian m. carlson1-3/+3
2015-11-20Add several uses of get_object_hash.brian m. carlson1-3/+3
2015-10-05avoid sprintf and strcpy with flex arraysJeff King1-2/+3
2015-08-03Merge branch 'jk/date-mode-format'Junio C Hamano1-1/+1
2015-06-29convert "enum date_mode" into a structJeff King1-1/+1
2015-06-22refs: move the remaining ref module declarations to refs.hMichael Haggerty1-0/+1
2015-05-05Merge branch 'bc/object-id'Junio C Hamano1-11/+11
2015-03-13archive.c: convert to use struct object_idbrian m. carlson1-11/+11
2015-01-14standardize usage info string formatAlex Henrie1-2/+2
2014-12-01tree.c: update read_tree_recursive callback to pass strbuf as baseNguyễn Thái Ngọc Duy1-13/+21
2014-10-08Merge branch 'nd/archive-pathspec'Junio C Hamano1-3/+94
2014-09-22archive: support filtering paths with globNguyễn Thái Ngọc Duy1-3/+94
2014-08-07archive.c: replace `git_config()` with `git_config_get_bool()` familyTanay Abhra1-9/+3
2014-03-18Merge branch 'rm/strchrnul-not-strlen'Junio C Hamano1-2/+2
2014-03-10use strchrnul() in place of strchr() and strlen()Rohit Mani1-2/+2
2014-02-28add uploadarchive.allowUnreachable optionScott J. Goldman1-2/+11
2013-10-16archive.c: have SP around arithmetic operatorsJunio C Hamano1-1/+1
2013-07-15archive: convert to use parse_pathspecNguyễn Thái Ngọc Duy1-8/+11
2013-07-15move struct pathspec and related functions to pathspec.[ch]Nguyễn Thái Ngọc Duy1-0/+1
2013-03-10archive: handle commits with an empty treeJeff King1-1/+1
2012-12-17Add directory pattern matching to attributesJean-Noël AVILA1-1/+2
2012-08-22Reduce translations by using same terminologiesNguyễn Thái Ngọc Duy1-1/+1
2012-08-20i18n: archive: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-19/+19
2012-05-23Merge branch 'rs/archive-tree-in-tip-simplify'Junio C Hamano1-12/+5
2012-05-18archive: simplify refname handlingRené Scharfe1-12/+5
2012-05-03archive: delegate blob reading to backendNguyễn Thái Ngọc Duy1-17/+11
2012-01-12Merge branch 'jk/maint-upload-archive'Junio C Hamano1-6/+15
2012-01-11archive: re-allow HEAD:Documentation on a remote invocationCarlos Martín Nieto1-6/+15
2011-12-13Merge branch 'jk/maint-upload-archive'Junio C Hamano1-4/+14
2011-11-21Merge branch 'jk/maint-1.6.2-upload-archive' into jk/maint-upload-archiveJunio C Hamano1-4/+14
2011-11-21archive: don't let remote clients get unreachable commitsJeff King1-5/+15
2011-09-27archive.c: use OPT_BOOL()Junio C Hamano1-2/+2
2011-08-04Rename git_checkattr() to git_check_attr()Michael Haggerty1-1/+1
2011-06-22upload-archive: allow user to turn off filtersJeff King1-5/+6
2011-06-22archive: refactor file extension format-guessingJeff King1-6/+19
2011-06-22archive: move file extension format-guessing lowerJeff King1-4/+21
2011-06-22archive: pass archiver struct to write_archive callbackJeff King1-1/+1
2011-06-22archive: refactor list of archive formatsJeff King1-16/+17
2011-06-15archive: reorder option parsing and config readingJeff King1-4/+14
2011-03-25Convert read_tree{,_recursive} to support struct pathspecNguyễn Thái Ngọc Duy1-6/+12
2010-11-15archive: improve --verbose descriptionRené Scharfe1-1/+1
2010-11-15add description parameter to OPT__VERBOSERené Scharfe1-1/+1
2010-10-08Use angles for placeholders consistentlyŠtěpán Němec1-2/+2
2010-07-27archive: abbreviate substituted commit ids againJonathan Nieder1-0/+1
2010-01-20Merge branch 'jc/conflict-marker-size'Junio C Hamano1-2/+2
2010-01-16git_attr(): fix function signatureJunio C Hamano1-2/+2
2009-12-30archive: complain about path specs that don't match anythingRené Scharfe1-1/+24
2009-10-19Refactor pretty_print_commit arguments into a structThomas Rast1-1/+3
2009-10-09Merge branch 'rs/maint-archive-prefix'Junio C Hamano1-3/+4
2009-10-08Git archive and trailing "/" in prefixRené Scharfe1-3/+4
2009-09-13git-archive: add '-o' as a alias for '--output'Dmitry Potapov1-1/+1
2009-05-25parse-opts: prepare for OPT_FILENAMEStephen Boyd1-1/+1
2009-04-17archive: do not read .gitattributes in working directoryNguyễn Thái Ngọc Duy1-0/+23
2009-03-08archive: use parseopt for local-only optionsRené Scharfe1-16/+2
2009-03-04git-archive: add --output=<file> to send output to a fileCarlos Manuel Duclos Vergara1-0/+19
2009-02-07tree.c: allow read_tree_recursive() to traverse gitlink entriesLars Hjemli1-1/+1
2008-10-26Merge branch 'maint'Junio C Hamano1-0/+2
2008-10-26git-archive: work in bare reposCharles Bailey1-0/+2
2008-10-12Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey1-4/+2
2008-10-02archive.c: make archiver staticNanako Shiraishi1-1/+1
2008-08-29pretty=format: respect date format optionsJeff King1-1/+1
2008-07-30archive: allow --exec and --remote without equal signRene Scharfe1-42/+68
2008-07-25archive: declare struct archiver where it's neededRene Scharfe1-1/+5
2008-07-25archive: move parameter parsing code to archive.cRene Scharfe1-0/+137
2008-07-25archive: add write_archive()Rene Scharfe1-0/+18
2008-07-15archive: unify file attribute handlingRené Scharfe1-40/+23
2008-07-15archive: centralize archive entry writingRené Scharfe1-0/+77
2008-06-09Teach new attribute 'export-ignore' to git-archiveRené Scharfe1-0/+13
2008-04-22archive.c: format_subst - fixed bogus argument to memchrAriel Badichi1-2/+2
2008-01-18Move sha1_file_to_archive into libgitLars Hjemli1-0/+84