aboutsummaryrefslogtreecommitdiffstats
path: root/fast-import.c
AgeCommit message (Expand)AuthorFilesLines
2020-08-13make git-fast-import a builtinJeff King1-3649/+0
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-2/+2
2020-06-02Merge branch 'en/fast-import-looser-date'Junio C Hamano1-4/+21
2020-05-31fast-import: add new --date-format=raw-permissive formatElijah Newren1-4/+21
2020-04-28Merge branch 'jk/fast-import-use-hashmap'Junio C Hamano1-25/+36
2020-04-06fast-import: replace custom hash with hashmap.cJeff King1-25/+36
2020-02-28fast-import: add options for rewriting submodulesbrian m. carlson1-5/+107
2020-02-28fast-import: add a generic function to iterate over marksbrian m. carlson1-24/+26
2020-02-28fast-import: make find_marks work on any mark setbrian m. carlson1-11/+10
2020-02-28fast-import: add helper function for inserting mark object entriesbrian m. carlson1-15/+22
2020-02-28fast-import: permit reading multiple marks filesbrian m. carlson1-14/+18
2019-12-06Sync with 2.23.1Johannes Schindelin1-4/+35
2019-12-06Sync with 2.22.2Johannes Schindelin1-4/+35
2019-12-06Sync with 2.21.1Johannes Schindelin1-4/+35
2019-12-06Sync with 2.20.2Johannes Schindelin1-4/+35
2019-12-06Sync with 2.19.3Johannes Schindelin1-4/+35
2019-12-06Sync with 2.18.2Johannes Schindelin1-4/+35
2019-12-06Sync with 2.17.3Johannes Schindelin1-4/+35
2019-12-06Sync with 2.16.6Johannes Schindelin1-4/+35
2019-12-06Sync with 2.15.4Johannes Schindelin1-4/+35
2019-12-06Sync with 2.14.6Johannes Schindelin1-4/+35
2019-12-04fast-import: disallow "feature import-marks" by defaultJeff King1-0/+2
2019-12-04fast-import: disallow "feature export-marks" by defaultJeff King1-0/+25
2019-12-04fast-import: delay creating leading directories for export-marksJeff King1-1/+6
2019-12-04fast-import: stop creating leading directories for import-marksJeff King1-1/+0
2019-12-04fast-import: tighten parsing of boolean command line optionsJeff King1-2/+2
2019-10-15Merge branch 'en/fast-imexport-nested-tags'Junio C Hamano1-11/+81
2019-10-04fast-import: add support for new 'alias' commandElijah Newren1-10/+52
2019-10-04fast-import: allow tags to be identified by mark labelsElijah Newren1-1/+2
2019-10-04fast-import: fix handling of deleted tagsElijah Newren1-0/+27
2019-08-27fast-import: duplicate into history rather than passing ownershipJeff King1-3/+1
2019-08-27fast-import: duplicate parsed encoding stringJeff King1-2/+5
2019-07-19Merge branch 'nd/tree-walk-with-repo'Junio C Hamano1-3/+6
2019-07-09Merge branch 'rs/copy-array'Junio C Hamano1-1/+1
2019-06-27sha1-file.c: remove the_repo from read_object_with_reference()Nguyễn Thái Ngọc Duy1-3/+6
2019-06-17use COPY_ARRAY for copying arraysRené Scharfe1-1/+1
2019-05-14fast-import: support 'encoding' commit headerElijah Newren1-2/+9
2019-04-25Merge branch 'bc/hash-transition-16'Junio C Hamano1-26/+40
2019-04-01fast-import: fix erroneous handling of get-mark with empty orphan commitsElijah Newren1-6/+2
2019-04-01fast-import: only allow cat-blob requests where it makes senseElijah Newren1-6/+13
2019-04-01fast-import: check most prominent commands firstElijah Newren1-2/+2
2019-04-01fast-import: replace sha1_to_hexbrian m. carlson1-2/+2
2019-04-01fast-import: make hash-size independentbrian m. carlson1-16/+29
2019-04-01object-store: rename and expand packed_git's sha1 memberbrian m. carlson1-8/+9
2019-01-04Merge branch 'en/fast-export-import'Junio C Hamano1-154/+12
2018-11-17fast-export: add a --show-original-ids option to show original namesElijah Newren1-0/+12
2018-11-17fast-import: remove unmaintained duplicate documentationElijah Newren1-154/+0
2018-11-12Upcast size_t variables to uintmax_t when printingTorsten Bögershausen1-2/+2
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-5/+5
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-0/+1
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-2/+2
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-3/+3
2018-08-20treewide: use get_all_packsDerrick Stolee1-2/+2
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-2/+4
2018-07-20commit.h: remove method declarationsDerrick Stolee1-0/+1
2018-07-06fast-import: do not call diff_delta() with empty bufferMike Hommey1-1/+1
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-2/+4
2018-05-30Merge branch 'ma/lockfile-cleanup'Junio C Hamano1-1/+1
2018-05-23Merge branch 'sb/oid-object-info'Junio C Hamano1-6/+10
2018-05-10lock_file: make function-local locks non-staticMartin Ågren1-1/+1
2018-05-08Merge branch 'ds/commit-graph'Junio C Hamano1-1/+1
2018-04-26packfile: add repository argument to unpack_entryStefan Beller1-1/+1
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-5/+9
2018-04-25Merge branch 'jm/mem-pool'Junio C Hamano1-61/+16
2018-04-12mem-pool: move reusable parts of memory pool into its own fileJameson Miller1-69/+1
2018-04-12fast-import: introduce mem_pool typeJameson Miller1-29/+52
2018-04-12fast-import: rename mem_pool type to mp_blockJameson Miller1-10/+10
2018-04-11Merge branch 'sb/packfiles-in-repository'Junio C Hamano1-2/+1
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-2/+6
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-15/+16
2018-04-02csum-file: rename hashclose() to finalize_hashfile()Derrick Stolee1-1/+1
2018-03-26packfile: keep prepare_packed_git() privateNguyễn Thái Ngọc Duy1-1/+0
2018-03-26packfile: add repository argument to prepare_packed_gitStefan Beller1-1/+1
2018-03-26packfile: allow install_packed_git to handle arbitrary repositoriesStefan Beller1-1/+1
2018-03-26object-store: move packed_git and packed_git_mru to object storeStefan Beller1-2/+6
2018-03-21Merge branch 'rj/warning-uninitialized-fix'Junio C Hamano1-2/+2
2018-03-20-Wuninitialized: remove some 'init-self' workaroundsRamsay Jones1-2/+2
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-3/+3
2018-03-14sha1_file: convert read_object_with_reference to object_idbrian m. carlson1-7/+8
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-5/+5
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-8/+8
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-8/+8
2018-02-02csum-file: rename sha1file to hashfilebrian m. carlson1-14/+14
2018-02-02fast-import: switch various uses of SHA-1 to the_hash_algobrian m. carlson1-20/+22
2017-10-23Merge branch 'jk/write-in-full-fix' into maintJunio C Hamano1-1/+1
2017-10-16refs: convert read_ref and read_ref_full to object_idbrian m. carlson1-1/+1
2017-10-16refs: update ref transactions to use struct object_idbrian m. carlson1-2/+2
2017-10-05Merge branch 'er/fast-import-dump-refs-on-checkpoint'Junio C Hamano1-3/+3
2017-09-29fast-import: checkpoint: dump branches/tags/marks even if object_count==0Eric Rannaud1-3/+3
2017-09-25Merge branch 'jk/write-in-full-fix'Junio C Hamano1-1/+1
2017-09-14avoid "write_in_full(fd, buf, len) != len" patternJeff King1-1/+1
2017-08-23pack: move pack name-related functionsJonathan Tan1-0/+1
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-4/+2
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-22Merge branch 'mh/fast-import-raise-default-depth'Junio C Hamano1-1/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-4/+2
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-3/+1
2017-06-12fast-import: increase the default pack depth to 50Mike Hommey1-1/+1
2017-05-26use xfopen() in more placesNguyễn Thái Ngọc Duy1-3/+1
2017-05-08pack: convert struct pack_idx_entry to struct object_idbrian m. carlson1-15/+15
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-2/+2
2017-05-08fast-import: convert to struct object_idbrian m. carlson1-158/+159
2017-05-02fast-import: convert internal structs to struct object_idbrian m. carlson1-86/+96
2017-04-26Merge branch 'jk/war-on-git-path'Junio C Hamano1-1/+1
2017-04-20replace xstrdup(git_path(...)) with git_pathdup(...)Jeff King1-1/+1
2017-03-28odb_mkstemp: write filename into strbufJeff King1-4/+5
2017-03-28Merge branch 'jk/fast-import-cleanup'Junio C Hamano1-9/+7
2017-03-24encode_in_pack_object_header: respect output buffer lengthJeff King1-5/+5
2017-03-24fast-import: use xsnprintf for formatting headersJeff King1-3/+1
2017-03-24fast-import: use xsnprintf for writing sha1sJeff King1-1/+1
2017-03-21Merge branch 'jk/pack-name-cleanups'Junio C Hamano1-13/+13
2017-03-16replace snprintf with odb_pack_name()Jeff King1-15/+13
2017-03-16odb_pack_keep(): stop generating keepfile nameJeff King1-1/+3
2017-02-20delete_ref: accept a reflog message argumentKyle Meyer1-1/+1
2017-01-10Merge branch 'mh/fast-import-notes-fix-new'Junio C Hamano1-3/+5
2016-12-20fast-import: properly fanout notes when tree is importedMike Hommey1-3/+5
2016-11-15compression: unify pack.compression configuration parsingJunio C Hamano1-13/+0
2016-09-29use QSORTRené Scharfe1-2/+2
2016-07-19Merge branch 'jk/common-main'Junio C Hamano1-7/+2
2016-07-06Merge branch 'jk/common-main-2.8' into jk/common-mainJunio C Hamano1-7/+2
2016-07-01common-main: call git_setup_gettext()Jeff King1-2/+0
2016-07-01common-main: call git_extract_argv0_path()Jeff King1-3/+0
2016-07-01add an extra level of indirection to main()Jeff King1-2/+2
2016-06-20Merge branch 'ew/fast-import-unpack-limit'Junio C Hamano1-0/+61
2016-05-31Merge branch 'fc/fast-import-broken-marks-file'Junio C Hamano1-2/+5
2016-05-29fast-import: invalidate pack_id references after looseningEric Wong1-1/+30
2016-05-23Merge branch 'nd/worktree-various-heads'Junio C Hamano1-3/+3
2016-05-17fast-import: do not truncate exported marks fileFelipe Contreras1-2/+5
2016-05-11fast-import: implement unpack limitEric Wong1-0/+32
2016-05-09fast-import.c: use error_errno()Nguyễn Thái Ngọc Duy1-5/+5
2016-04-22dir.c: rename str(n)cmp_icase to fspath(n)cmpNguyễn Thái Ngọc Duy1-3/+3
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-7/+5
2016-02-22fast-import: simplify allocation in start_packfileJeff King1-4/+1
2016-02-22use st_add and st_mult for allocation size computationJeff King1-1/+1
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-2/+3
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-2/+2
2015-12-11Merge branch 'sg/lock-file-commit-error'Junio C Hamano1-1/+1
2015-12-01Make error message after failing commit_lock_file() less confusingSZEDER Gábor1-1/+1
2015-10-20Merge branch 'jk/war-on-sprintf'Junio C Hamano1-7/+10
2015-10-05Merge branch 'jk/date-local'Junio C Hamano1-1/+1
2015-10-05convert strncpy to memcpyJeff King1-1/+1
2015-10-05prefer memcpy to strcpyJeff King1-2/+3
2015-10-05avoid sprintf and strcpy with flex arraysJeff King1-2/+4
2015-09-25use xsnprintf for generating git object headersJeff King1-2/+2
2015-09-03fast-import: switch crash-report date to iso8601Jeff King1-1/+1
2015-08-19Merge branch 'jk/git-path'Junio C Hamano1-1/+3
2015-08-19Merge branch 'jc/finalize-temp-file'Junio C Hamano1-2/+2
2015-08-10prefer git_pathdup to git_path in some possibly-dangerous casesJeff King1-1/+3
2015-08-10sha1_file.c: rename move_temp_to_file() to finalize_object_file()Junio C Hamano1-2/+2
2015-08-03Merge branch 'jk/date-mode-format'Junio C Hamano1-1/+1
2015-08-03Merge branch 'mh/fast-import-optimize-current-from'Junio C Hamano1-12/+17
2015-08-03Merge branch 'mh/fast-import-get-mark'Junio C Hamano1-4/+29
2015-07-13fast-import: do less work when given "from" matches current branch headMike Hommey1-12/+17
2015-07-01fast-import: add a get-mark commandMichael Haggerty1-4/+29
2015-06-29convert "enum date_mode" into a structJeff King1-1/+1
2015-06-22update_ref(): don't read old reference value before deleteMichael Haggerty1-3/+3
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-5/+2
2015-03-17Merge branch 'rs/deflate-init-cleanup'Junio C Hamano1-3/+0
2015-03-05zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}René Scharfe1-3/+0
2015-03-05Merge branch 'mh/refs-have-new'Junio C Hamano1-3/+3
2015-02-25Merge branch 'jk/fast-import-die-nicely-fix'Junio C Hamano1-1/+5
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-3/+3
2015-02-10fast-import: avoid running end_packfile recursivelyJeff King1-1/+5
2014-12-01fast-import: use git_path() for accessing .git dir instead of get_git_dir()Nguyễn Thái Ngọc Duy1-4/+1
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-1/+1
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg1-4/+4
2014-10-01dump_marks(): reimplement using fdopen_lock_file()Michael Haggerty1-19/+2
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-10-01dump_marks(): remove a redundant call to rollback_lock_file()Michael Haggerty1-3/+1
2014-09-29Merge branch 'mb/fast-import-delete-root' into maintJunio C Hamano1-1/+5
2014-09-26Merge branch 'rs/realloc-array'Junio C Hamano1-1/+1
2014-09-19Merge branch 'jk/fast-import-fixes' into maintJunio C Hamano1-8/+13
2014-09-19Merge branch 'mb/fast-import-delete-root'Junio C Hamano1-1/+5
2014-09-19Merge branch 'jk/commit-author-parsing'Junio C Hamano1-11/+9
2014-09-18use REALLOC_ARRAY for changing the allocation size of arraysRené Scharfe1-1/+1
2014-09-11Merge branch 'jk/fast-import-fixes'Junio C Hamano1-4/+7
2014-09-11Merge branch 'rs/ref-transaction-1'Junio C Hamano1-16/+38
2014-09-03fast-import.c: use a ref transaction when dumping tagsRonnie Sahlberg1-6/+23
2014-09-03fast-import.c: change update_branch to use ref transactionsRonnie Sahlberg1-10/+15
2014-08-29fast-import: fix segfault in store_tree()Maxim Bublis1-1/+5
2014-08-27date: use strbufs in date-formatting functionsJeff King1-11/+9
2014-08-25fast-import: fix buffer overflow in dump_tagsJeff King1-4/+6
2014-08-25fast-import: clean up pack_data pointer in end_packfileJeff King1-4/+7
2014-08-13fast-import.c: replace `git_config()` with `git_config_get_*()` familyTanay Abhra1-23/+21
2014-07-18fast-import: use hashcmp() for SHA1 hash comparisonRené Scharfe1-1/+1
2014-06-20fast-import: refactor parsing of spacesJeff King1-13/+7
2014-06-20fast-import: use skip_prefix for parsing inputJeff King1-72/+51
2014-06-20use skip_prefix to avoid magic numbersJeff King1-32/+37
2014-06-20fast-import: fix read of uninitialized argv memoryJeff King1-5/+8
2014-04-21fast-import: add support to delete refsFelipe Contreras1-3/+10
2014-03-10use strchrnul() in place of strchr() and strlen()Rohit Mani1-21/+12
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-40/+40
2013-09-20Merge branch 'bk/refs-multi-update'Junio C Hamano1-1/+1
2013-09-17Merge branch 'rh/ishes-doc'Junio C Hamano1-10/+10
2013-09-04use 'commit-ish' instead of 'committish'Richard Hansen1-8/+8
2013-09-04use 'tree-ish' instead of 'treeish'Richard Hansen1-2/+2
2013-09-04Merge branch 'jk/fast-import-empty-ls'Junio C Hamano1-20/+38
2013-08-30refs: report ref type from lock_any_ref_for_updateBrad King1-1/+1
2013-06-23fast-import: allow moving the root treeJohn Keeping1-7/+14