aboutsummaryrefslogtreecommitdiffstats
path: root/fast-import.c
AgeCommit message (Expand)AuthorFilesLines
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
2013-06-23fast-import: allow ls or filecopy of the root treeJohn Keeping1-13/+22
2013-06-23fast-import: set valid mode on root tree in "ls"John Keeping1-0/+2
2013-06-02Merge branch 'fc/fast-export-persistent-marks'Junio C Hamano1-1/+1
2013-05-07fast-{import,export}: use get_sha1_hex() to read from marks fileFelipe Contreras1-1/+1
2013-04-28sparse: Fix mingw_main() argument number/type errorsRamsay Jones1-2/+2
2013-03-29fast-import: Fix an gcc -Wuninitialized warningRamsay Jones1-0/+1
2013-03-21fast-import: clarify "inline" logic in file_change_mJeff King1-1/+2
2013-03-21drop some obsolete "x = x" compiler warning hacksJeff King1-1/+1
2013-03-21fast-import: use pointer-to-pointer to keep list tailJeff King1-6/+4
2012-09-11Merge branch 'jc/merge-bases'Junio C Hamano1-1/+1
2012-08-27in_merge_bases(): support only one "other" commitJunio C Hamano1-1/+1
2012-04-10fast-import: tighten parsing of datarefsPete Wyckoff1-33/+77
2012-03-26Merge branch 'jn/maint-fast-import-empty-ls' into maintJunio C Hamano1-0/+4
2012-03-09fast-import: don't allow 'ls' of path with empty componentsJonathan Nieder1-0/+2
2012-03-09fast-import: leakfix for 'ls' of dirty treesJonathan Nieder1-0/+2
2012-03-05fast-import: zero all of 'struct tag' to silence valgrindThomas Rast1-1/+1
2011-12-21Appease Sun Studio by renaming "tmpfile"Ævar Arnfjörð Bjarmason1-4/+4
2011-12-19Merge branch 'ab/enable-i18n'Junio C Hamano1-0/+2
2011-12-16Merge branch 'jc/stream-to-pack'Junio C Hamano1-17/+8
2011-12-05i18n: add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason1-0/+2
2011-11-30csum-file: introduce sha1file_checkpointJunio C Hamano1-17/+8
2011-11-28fast-import: Fix incorrect fanout level when modifying existing notes refsJohan Herland1-3/+25
2011-10-13Merge branch 'di/fast-import-empty-tag-note-fix'Junio C Hamano1-0/+4
2011-10-05Change check_ref_format() to take a flags argumentMichael Haggerty1-6/+1
2011-09-22fast-import: don't allow to note on empty branchDmitry Ivankov1-0/+2
2011-09-22fast-import: don't allow to tag empty branchDmitry Ivankov1-0/+2
2011-08-28Merge branch 'di/fast-import-tagging'Junio C Hamano1-7/+7
2011-08-28Merge branch 'di/fast-import-blob-tweak'Junio C Hamano1-5/+12
2011-08-28Merge branch 'di/fast-import-deltified-tree'Junio C Hamano1-5/+30
2011-08-28Merge branch 'di/fast-import-ident'Junio C Hamano1-12/+21
2011-08-23fast-import: allow to tag newly created objectsDmitry Ivankov1-3/+7
2011-08-23fast-import: add tests for tagging blobsDmitry Ivankov1-7/+3
2011-08-22fast-import: treat cat-blob as a delta base hint for next blobDmitry Ivankov1-1/+6
2011-08-22fast-import: count and report # of calls to diff_delta in statsDmitry Ivankov1-4/+6
2011-08-14fast-import: prevent producing bad deltaDmitry Ivankov1-5/+30
2011-08-11fast-import: check committer name more strictlyDmitry Ivankov1-12/+17
2011-08-11fast-import: don't fail on omitted committer nameDmitry Ivankov1-0/+4
2011-08-01Merge branch 'sr/transport-helper-fix'Junio C Hamano1-0/+8
2011-07-19fast-import: introduce 'done' commandSverre Rabbelier1-0/+8
2011-07-19Merge branch 'jc/index-pack'Junio C Hamano1-4/+6
2011-06-10zlib: zlib can only process 4GB at a timeJunio C Hamano1-2/+2
2011-06-10zlib: wrap deflateBound() tooJunio C Hamano1-2/+2
2011-06-10zlib: wrap deflate side of the APIJunio C Hamano1-11/+11
2011-05-05fast-import: fix option parser for no-arg optionsSverre Rabbelier1-3/+3
2011-05-04Merge branch 'jc/pack-objects-bigfile' into maintJunio C Hamano1-5/+0
2011-04-05Teach core.bigfilethreashold to pack-objectsJunio C Hamano1-5/+0
2011-03-22Fix sparse warningsStephen Boyd1-1/+1
2011-03-16Merge branch 'maint'Junio C Hamano1-28/+14
2011-03-16standardize brace placement in struct definitionsJonathan Nieder1-28/+14
2011-03-15Merge branch 'sp/maint-fd-limit'Junio C Hamano1-0/+1
2011-03-02sha1_file.c: Don't retain open fds on small packsShawn O. Pearce1-0/+1
2011-02-28fast-import: make code "-Wpointer-arith" cleanJonathan Nieder1-1/+1
2011-02-27write_idx_file: introduce a struct to hold idx customization optionsJunio C Hamano1-4/+6
2011-02-26fast-import: add 'ls' commandDavid Barr1-3/+159
2011-02-09Merge branch 'rr/fi-import-marks-if-exists'Junio C Hamano1-3/+13
2011-02-09Merge branch 'maint-1.7.0' into maintJunio C Hamano1-0/+2
2011-02-09fast-import: introduce "feature notes" commandJonathan Nieder1-0/+2
2011-01-27Merge branch 'maint'Junio C Hamano1-0/+6
2011-01-27Merge branch 'jn/fast-import-empty-tree-removal' into maintJunio C Hamano1-0/+6
2011-01-27fast-import: treat filemodify with empty tree as deleteJonathan Nieder1-0/+6
2011-01-19Merge branch 'jn/maint-fast-import-object-reuse' into maintJunio C Hamano1-7/+2
2011-01-18fast-import: Introduce --import-marks-if-existsRamkumar Ramachandra1-3/+13
2010-12-16Merge branch 'jn/fast-import-blob-access'Junio C Hamano1-9/+120
2010-12-16Merge branch 'jn/maint-fast-import-object-reuse'Junio C Hamano1-7/+2
2010-12-16Merge branch 'jn/fast-import-ondemand-checkpoint'Junio C Hamano1-1/+40
2010-12-03Merge branch 'jj/icase-directory'Junio C Hamano1-3/+4
2010-12-01fast-import: Allow cat-blob requests at arbitrary points in streamJonathan Nieder1-12/+16
2010-12-01fast-import: let importers retrieve blobsDavid Barr1-0/+97
2010-12-01fast-import: stricter parsing of integer optionsJonathan Nieder1-2/+11
2010-11-29Merge branch 'jn/fast-import-fix'Junio C Hamano1-12/+37
2010-11-24fast-import: treat SIGUSR1 as a request to access objects earlyJonathan Nieder1-1/+40
2010-11-24fast-import: insert new object entries at start of hash bucketDavid Barr1-7/+2
2010-10-21Sync with 1.7.3.2Junio C Hamano1-1/+1
2010-10-20fast-import: do not clear notes in do_change_note_fanout()Jonathan Nieder1-4/+1
2010-10-18fast-import: tighten M 040000 syntaxJonathan Nieder1-9/+25
2010-10-18fast-import: filemodify after M 040000 <tree> "" crashesJonathan Nieder1-4/+16
2010-10-13fast-import: Allow filemodify to set the rootDavid Barr1-0/+9
2010-10-08Use angles for placeholders consistentlyŠtěpán Němec1-1/+1
2010-10-06Support case folding in git fast-import when core.ignorecase=trueJoshua Jensen1-3/+4
2010-08-31Merge branch 'en/d-f-conflict-fix'Junio C Hamano1-0/+8
2010-08-18Merge branch 'jn/fast-import-subtree'Junio C Hamano1-9/+15
2010-08-11fast-import: export correctly marks larger than 2^20-1Raja R Harinath1-1/+1
2010-07-09fast-import: Improve robustness when D->F changes provided in wrong orderElijah Newren1-0/+8
2010-07-05Teach fast-import to import subtrees named by tree idJonathan Nieder1-9/+15
2010-06-21Merge branch 'gv/portable'Junio C Hamano1-1/+1
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-03-31fast-import: always create marks_file directoriesSverre Rabbelier1-0/+2
2010-02-17refactor duplicated encode_header in pack-objects and fast-importMichael Lukashov1-26/+3
2010-02-17fast-import: use the diff_delta() max_delta_size argumentNicolas Pitre1-6/+2
2010-02-17fast-import: honor pack.indexversion and pack.packsizelimit config varsNicolas Pitre1-0/+11
2010-02-17fast-import: make default pack size unlimitedNicolas Pitre1-6/+6
2010-02-17fast-import: use write_idx_file() instead of custom codeNicolas Pitre1-46/+17
2010-02-17fast-import: use sha1write() for pack dataNicolas Pitre1-10/+25
2010-02-17fast-import: start using struct pack_idx_entryNicolas Pitre1-29/+28
2010-02-04fast-import: count --max-pack-size in bytesJunio C Hamano1-6/+11
2010-02-04fast-import.c: Fix big-file-threshold parsing bugJunio C Hamano1-1/+4
2010-02-01Merge branch 'sp/maint-fast-import-large-blob' into sp/fast-import-large-blobJunio C Hamano1-18/+156
2010-02-01fast-import: Stream very large blobs directly to packShawn O. Pearce1-19/+160
2010-01-20Merge branch 'jh/notes' (early part)Junio C Hamano1-5/+129
2010-01-18Merge branch 'maint'Junio C Hamano1-5/+5
2010-01-18Merge branch 'dp/maint-1.6.5-fast-import-non-commit-tag' into maintJunio C Hamano1-5/+5
2010-01-17Merge branch 'sr/gfi-options'Junio C Hamano1-86/+231
2010-01-14fast-import: tag may point to any object typeDmitry Potapov1-5/+5
2009-12-31fast-import: Document author/committer/tagger name is optionalShawn O. Pearce1-3/+3
2009-12-07fast-import: Proper notes tree manipulationJohan Herland1-5/+129
2009-12-05fast-import: add (non-)relative-marks featureSverre Rabbelier1-2/+17
2009-12-04fast-import: allow for multiple --import-marks= argumentsSverre Rabbelier1-5/+16
2009-12-04fast-import: add option commandSverre Rabbelier1-25/+62
2009-12-04fast-import: add feature commandSverre Rabbelier1-0/+38
2009-12-04fast-import: put marks reading in its own functionSverre Rabbelier1-42/+51
2009-12-04fast-import: put option parsing code in separate functionsSverre Rabbelier1-40/+75
2009-11-20Merge branch 'jh/notes' (early part)Junio C Hamano1-4/+84
2009-11-10Show usage string for 'git fast-import -h'Jonathan Nieder1-0/+3
2009-10-19fast-import: Add support for importing commit notesJohan Herland1-4/+84
2009-10-07fast-import.c::validate_raw_date(): really validate the valueJunio C Hamano1-3/+6
2009-06-27Use die_errno() instead of die() when checking syscallsThomas Rast1-2/+2
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-2/+2
2009-05-18Merge branch 'ar/unlink-err'Junio C Hamano1-2/+2
2009-05-01Fix a bunch of pointer declarations (codestyle)Felipe Contreras1-7/+7
2009-04-29replace direct calls to unlink(2) with unlink_or_warnAlex Riesen1-2/+2
2009-04-22Fix more typos/spelling in commentsMichael J Gruber1-1/+1
2009-04-22Fix typos / spelling in commentsMike Ralphson1-3/+3
2009-04-06Merge branch 'jc/shared-literally'Junio C Hamano1-3/+0
2009-03-27Move chmod(foo, 0444) into move_temp_to_file()Johan Herland1-3/+0
2009-03-25Correct missing SP characters in grammar comment at top of fast-import.cElijah Newren1-3/+4
2009-03-07Remove unused function scope local variablesBenjamin Kramer1-5/+3
2009-02-25Merge branch 'jc/maint-1.6.0-pack-directory'Junio C Hamano1-9/+5
2009-02-25Make sure objects/pack exists before creating a new packJunio C Hamano1-9/+5
2009-02-10Drop double-semicolon in CJunio C Hamano1-1/+1
2009-02-10Merge branch 'maint'Junio C Hamano1-0/+1
2009-02-10Merge branch 'maint-1.6.0' into maintJunio C Hamano1-0/+1
2009-02-10Clear the delta base cache during fast-import checkpointShawn O. Pearce1-0/+1
2009-01-26Add calls to git_extract_argv0_path() in programs that call git_config_*Steffen Prohaska1-0/+3
2009-01-13Merge branch 'maint-1.6.0' into maintJunio C Hamano1-3/+4
2009-01-13fast-import: Cleanup mode setting.Felipe Contreras1-3/+4
2008-12-21fast-import.c: stricter strtoul check, silence compiler warningRené Scharfe1-4/+7
2008-12-19Merge branch 'maint' to sync with GIT 1.6.0.6Junio C Hamano1-11/+15
2008-12-19fast-import: make tagger information optionalJunio C Hamano1-11/+15
2008-12-15Merge branch 'maint'Junio C Hamano1-1/+3
2008-12-15fast-import: close pack before unlinking itJohannes Schindelin1-1/+3
2008-12-14git-fast-import possible memory corruption problemYONETANI Tomokazu1-3/+4
2008-10-02fix openssl headers conflicting with custom SHA1 implementationsNicolas Pitre1-9/+9
2008-09-23Merge branch 'maint'Junio C Hamano1-2/+2
2008-09-22Do not perform cross-directory renames when creating packsPetr Baudis1-2/+2
2008-09-02Merge branch 'np/maint-safer-pack'Junio C Hamano1-1/+2
2008-08-31cast pid_t's to uintmax_t to improve portabilityDavid Soria Parra1-3/+3
2008-08-29improve reliability of fixup_pack_header_footer()Nicolas Pitre1-1/+2
2008-07-19Support gitlinks in fast-import.Alexander Gavrilov1-1/+15
2008-07-13Make usage strings dash-lessStephan Beyer1-1/+1
2008-05-31Make pack creation always fsync() the resultLinus Torvalds1-1/+1
2008-05-25Merge branch 'js/config-cb'Junio C Hamano1-3/+3
2008-05-16git-fast-import: rename cmd_*() functions to parse_*()Miklos Vajna1-31/+31
2008-05-14Provide git_config with a callback-data parameterJohannes Schindelin1-3/+3
2008-03-16fast-import: Allow "reset" to delete a new branch without errorEyvind Bernhardsen1-0/+2
2008-03-08Merge branch 'maint' to sync with 1.5.4.4Junio C Hamano1-1/+2
2008-03-08Really make the LF after reset in fast-import optionalAdeodato Simó1-1/+2
2008-03-02fast-import: exit with proper message if not a git dirJean-Luc Herren1-0/+1
2008-02-16Finish current packfile during fast-import crash handlerShawn O. Pearce1-0/+7
2008-02-16Include the fast-import marks table in crash reportsShawn O. Pearce1-0/+10
2008-02-16Include annotated tags in fast-import crash reportsShawn O. Pearce1-0/+13
2008-02-15fast-import: check return value from unpack_entry()Shawn O. Pearce1-0/+2
2008-01-21Document the hairy gfi_unpack_entry part of fast-importShawn O. Pearce1-0/+33
2008-01-21Teach fast-import to honor pack.compression and pack.depthShawn O. Pearce1-3/+29
2008-01-18fast-import: Don't use a maybe-clobbered errno valueJim Meyering1-3/+6
2008-01-17Fix random fast-import errors when compiled with NO_MMAPShawn O. Pearce1-2/+4
2008-01-17fast-import.c: don't try to commit marks file if write failedBrandon Casey1-8/+16
2008-01-16Improve use of lockfile APIBrandon Casey1-2/+10
2008-01-10bundle, fast-import: detect write failureJim Meyering1-2/+3
2008-01-02Update callers of check_ref_format()Junio C Hamano1-2/+3
2007-12-14fast-import: fix unalinged allocation and accessDavid S. Miller1-5/+5
2007-11-14Merge branch 'maint'Junio C Hamano1-7/+13
2007-11-13Don't allow fast-import tree delta chains to exceed maximum depthShawn O. Pearce1-7/+13
2007-10-26fast-import.c: fix regression due to strbuf conversionPierre Habouzit1-0/+1
2007-10-21Merge branch 'maint'Shawn O. Pearce1-1/+1
2007-10-20fast-import: Fix argument order to die in file_change_mJulian Phillips1-1/+1
2007-09-29strbuf change: be sure ->buf is never ever NULL.Pierre Habouzit1-1/+1
2007-09-20Rework unquote_c_style to work on a strbuf.Pierre Habouzit1-25/+22
2007-09-20strbuf API additions and enhancements.Pierre Habouzit1-3/+1
2007-09-18Use xmemdupz() in many places.Pierre Habouzit1-3/+1
2007-09-18fast-import optimization:Pierre Habouzit1-32/+20
2007-09-18fast-import was using dbuf's, replace them with strbuf's.Pierre Habouzit1-109/+68
2007-09-18Drop strbuf's 'eof' marker, and make read_line a first class citizen.Pierre Habouzit1-15/+19
2007-09-16Now that cache.h needs strbuf.h, remove useless includes.Pierre Habouzit1-1/+0
2007-09-10Strbuf API extensions and fixes.Pierre Habouzit1-2/+2
2007-09-06fast-import: Use strbuf API, and simplify cmd_data()Pierre Habouzit1-17/+13
2007-09-06Rework strbuf API and semantics.Pierre Habouzit1-8/+7
2007-08-20Avoid using va_copy in fast-import: it seems to be unportable.Alex Riesen1-7/+6
2007-08-19fast-import pull requestJunio C Hamano1-3/+5
2007-08-19Include recent command history in fast-import crash reportsShawn O. Pearce1-4/+58
2007-08-19Generate crash reports on die in fast-importShawn O. Pearce1-0/+93
2007-08-19Allow frontends to bidirectionally communicate with fast-importShawn O. Pearce1-0/+14