aboutsummaryrefslogtreecommitdiffstats
path: root/entry.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-09-29wrapper: reduce scope of remove_or_warn()Calvin Wan1-0/+5
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21sparse-index.h: move declarations for sparse-index.c from cache.hElijah Newren1-0/+1
2023-06-21name-hash.h: move declarations for name-hash.c from cache.hElijah Newren1-0/+1
2023-04-24symlinks.h: move declarations for symlinks.c functions from cache.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-1/+2
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+2
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21wrapper.h: move declarations for wrapper.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
2022-12-26read-tree: add "--super-prefix" option, eliminate globalÆvar Arnfjörð Bjarmason1-6/+6
2022-07-14checkout: fix two bugs on the final count of updated entriesMatheus Tavares1-14/+20
2021-11-29Merge branch 'mc/clean-smudge-with-llp64'Junio C Hamano1-3/+5
2021-11-03odb: teach read_blob_entry to use size_tMatt Cooper1-3/+5
2021-09-09entry: show finer-grained counter in "Filtering content" progress lineSZEDER Gábor1-7/+5
2021-08-26checkout: make delayed checkout respect --quiet and --no-progressMatheus Tavares1-2/+5
2021-07-01string-list.h users: change to use *_{nodup,dup}()Ævar Arnfjörð Bjarmason1-2/+2
2021-05-20Merge branch 'en/dir-traversal'Junio C Hamano1-4/+1
2021-05-13dir: introduce readdir_skip_dot_and_dotdot() helperElijah Newren1-4/+1
2021-04-30Merge branch 'mt/parallel-checkout-part-2'Junio C Hamano1-2/+15
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-0/+2
2021-04-19unpack-trees: add basic support for parallel checkoutMatheus Tavares1-2/+15
2021-04-14entry: ensure full indexDerrick Stolee1-0/+2
2021-04-02Merge branch 'mt/parallel-checkout-part-1'Junio C Hamano1-34/+51
2021-03-30Merge branch 'mt/checkout-remove-nofollow'Junio C Hamano1-1/+1
2021-03-23entry: add checkout_entry_ca() taking preloaded conv_attrsMatheus Tavares1-5/+6
2021-03-23entry: move conv_attrs lookup up to checkout_entry()Matheus Tavares1-11/+27
2021-03-23entry: extract update_ce_after_write() from write_entry()Matheus Tavares1-9/+16
2021-03-23entry: make fstat_output() and read_blob_entry() publicMatheus Tavares1-4/+4
2021-03-23entry: extract a header file for entry.c functionsMatheus Tavares1-8/+1
2021-03-18checkout: don't follow symlinks when removing entriesMatheus Tavares1-1/+1
2021-02-16write_entry(): fix misuses of `path` in error messagesMatheus Tavares1-4/+4
2020-08-18checkout_entry(): remove unreachable error() callMatheus Tavares1-2/+0
2020-07-09Merge branch 'mt/entry-fstat-fallback-fix' into masterJunio C Hamano1-2/+1
2020-07-09entry: check for fstat() errors after checkoutMatheus Tavares1-2/+1
2020-03-16convert: provide additional metadata to filtersbrian m. carlson1-2/+5
2020-03-16convert: permit passing additional metadata to filter processesbrian m. carlson1-2/+2
2019-05-28fill_stat_cache_info(): prepare for an fsmonitor fixJohannes Schindelin1-1/+1
2019-03-07Merge branch 'tg/checkout-no-overlay'Junio C Hamano1-0/+26
2019-01-14Merge branch 'nd/checkout-noisy'Junio C Hamano1-4/+6
2019-01-02entry: support CE_WT_REMOVE flag in checkout_entryThomas Gummerer1-0/+11
2019-01-02entry: factor out unlink_entry functionThomas Gummerer1-0/+15
2018-11-21Merge branch 'nd/clone-case-smashing-warning'Junio C Hamano1-2/+2
2018-11-21clone: fix colliding file detection on APFSNguyễn Thái Ngọc Duy1-2/+2
2018-11-14checkout: print something when checking out pathsNguyễn Thái Ngọc Duy1-4/+6
2018-09-17Merge branch 'nd/clone-case-smashing-warning'Junio C Hamano1-0/+31
2018-08-17clone: report duplicate entries on case-insensitive filesystemsDuy Nguyen1-0/+31
2018-08-13entry.c: use the right index instead of the_indexNguyễn Thái Ngọc Duy1-4/+5
2018-08-13convert.c: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy1-3/+3
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-03-14convert: convert to struct object_idbrian m. carlson1-1/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-1/+1
2018-02-22entry: rename 'new' variablesBrandon Williams1-20/+20
2017-11-21Merge branch 'bp/fsmonitor'Junio C Hamano1-0/+2
2017-10-11Merge branch 'ls/filter-process-delayed'Junio C Hamano1-36/+52
2017-10-10write_entry: untangle symlink and regular-file casesJeff King1-31/+40
2017-10-10write_entry: avoid reading blobs in CE_RETRY caseJeff King1-11/+14
2017-10-10write_entry: fix leak when retrying delayed filterJeff King1-0/+1
2017-10-06entry.c: check if file exists after checkoutLars Schneider1-1/+3
2017-10-05entry.c: update cache entry only for existing filesLars Schneider1-1/+2
2017-10-01fsmonitor: teach git to optionally utilize a file system monitor to speed up ...Ben Peart1-0/+2
2017-09-25Merge branch 'jk/write-in-full-fix'Junio C Hamano1-2/+3
2017-09-14convert less-trivial versions of "write_in_full() != len"Jeff King1-2/+3
2017-09-10Merge branch 'ls/convert-filter-progress'Junio C Hamano1-1/+14
2017-08-24convert: display progress for filtered objects that have been delayedLars Schneider1-1/+15
2017-06-30convert: add "status=delayed" to filter process protocolLars Schneider1-5/+127
2017-04-18entry.c: submodule recursing: respect force flag correctlyStefan Beller1-4/+4
2017-03-16entry.c: create submodules when interestingStefan Beller1-0/+30
2016-09-07streaming: make stream_blob_to_fd take struct object_idbrian m. carlson1-1/+1
2016-09-07cache: convert struct cache_entry to use struct object_idbrian m. carlson1-4/+5
2016-05-09entry.c: use error_errno()Nguyễn Thái Ngọc Duy1-6/+4
2016-02-22use xmallocz to avoid size arithmeticJeff King1-1/+1
2015-09-25entry.c: convert strcpy to xsnprintfJeff King1-2/+2
2014-06-13read-cache: mark updated entries for split indexNguyễn Thái Ngọc Duy1-0/+1
2014-06-13entry.c: update cache_changed if refresh_cache is set in checkout_entry()Nguyễn Thái Ngọc Duy1-0/+2
2014-03-25Merge branch 'mh/remove-subtree-long-pathname-fix'Junio C Hamano1-32/+32
2014-03-13entry.c: fix possible buffer overflow in remove_subtree()Michael Haggerty1-17/+17
2014-03-13checkout_entry(): use the strbuf throughout the functionMichael Haggerty1-16/+16
2013-10-24checkout_entry(): clarify the use of topath[] parameterJunio C Hamano1-0/+8
2013-10-24entry.c: convert checkout_entry to use strbufNguyễn Thái Ngọc Duy1-5/+8
2013-07-22Merge branch 'nd/const-struct-cache-entry'Junio C Hamano1-5/+7
2013-07-18apply, entry: speak of submodules instead of subprojectsThomas Rast1-2/+2
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-5/+7
2013-04-03Merge branch 'jk/check-corrupt-objects-carefully'Junio C Hamano1-7/+9
2013-03-28Merge branch 'jk/checkout-attribute-lookup'Junio C Hamano1-1/+1
2013-03-27streaming_write_entry: propagate streaming errorsJeff King1-7/+9
2013-03-14entry: fix filter lookupJohn Keeping1-1/+1
2012-03-07streaming: make streaming-write-entry to be more reusableJunio C Hamano1-48/+5
2011-05-26Add streaming filter APIJunio C Hamano1-6/+10
2011-05-20streaming_write_entry(): support files with holesJunio C Hamano1-2/+19
2011-05-20streaming_write_entry(): use streaming API in write_entry()Junio C Hamano1-0/+52
2011-05-20write_entry(): separate two helper functions outJunio C Hamano1-17/+26
2010-11-29entry.c: remove "checkout-index" from error messagesNguyễn Thái Ngọc Duy1-8/+8
2010-01-20Merge branch 'jc/symbol-static'Junio C Hamano1-1/+1
2010-01-13Merge branch 'nd/sparse'Junio C Hamano1-1/+1
2010-01-12entry.c: mark file-local function staticJunio C Hamano1-1/+1
2009-12-14ie_match_stat(): do not ignore skip-worktree bit with CE_MATCH_IGNORE_VALIDNguyễn Thái Ngọc Duy1-1/+1
2009-08-18check_path(): allow symlinked directories to checkout-index --prefixJunio C Hamano1-4/+8
2009-07-29git-checkout: be careful about untracked symlinksLinus Torvalds1-1/+14
2009-06-27Use die_errno() instead of die() when checking syscallsThomas Rast1-1/+1
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-4/+4
2009-04-29replace direct calls to unlink(2) with unlink_or_warnAlex Riesen1-1/+1
2009-04-20Windows: Skip fstat/lstat optimization in write_entry()Johannes Sixt1-1/+2
2009-02-09write_entry(): use fstat() instead of lstat() when file is openKjetil Barvik1-3/+9
2009-02-09write_entry(): cleanup of some duplicated codeKjetil Barvik1-45/+30
2009-02-09create_directories(): remove some memcpy() and strchr() callsKjetil Barvik1-9/+14
2009-02-09lstat_cache(): swap func(length, string) into func(string, length)Kjetil Barvik1-1/+1
2009-01-25Merge branch 'kb/lstat-cache'Junio C Hamano1-22/+12
2009-01-18lstat_cache(): introduce has_dirs_only_path() functionKjetil Barvik1-22/+12
2009-01-11add is_dot_or_dotdot inline functionAlexander Potashev1-3/+2
2008-08-31'git foo' program identifies itself without dash in die() messagesJunio C Hamano1-10/+10
2008-03-18Fix possible Solaris problem in 'checkout_entry()'Linus Torvalds1-2/+2
2008-01-21Make on-disk index representation separate from in-core oneLinus Torvalds1-3/+3
2007-11-14Merge branch 'jc/maint-add-sync-stat'Junio C Hamano1-1/+1
2007-11-10ce_match_stat, run_diff_files: use symbolic constants for readabilityJunio C Hamano1-1/+1
2007-10-22Correct some sizeof(size_t) != sizeof(unsigned long) typing errorsRené Scharfe1-1/+3
2007-09-29strbuf change: be sure ->buf is never ever NULL.Pierre Habouzit1-2/+1
2007-09-16Rewrite convert_to_{git,working_tree} to use strbuf's.Pierre Habouzit1-4/+6
2007-08-14attr.c: read .gitattributes from index as well.Junio C Hamano1-9/+10
2007-07-18Merge branch 'maint'Junio C Hamano1-7/+30
2007-07-18Do not expect unlink(2) to fail on a directory.Junio C Hamano1-7/+30
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-05-21rename dirlink to gitlink.Martin Waitz1-2/+2
2007-04-25entry.c: Use const qualifier for 'struct checkout' parametersLuiz Fernando N. Capitulino1-3/+3
2007-04-25remove_subtree(): Use strerror() when possibleLuiz Fernando N. Capitulino1-4/+4
2007-04-21Merge branch 'jc/attr'Junio C Hamano1-5/+3
2007-04-20Simplify calling of CR/LF conversion routinesAlex Riesen1-5/+2
2007-04-14Teach "git-read-tree -u" to check out submodules as a directoryLinus Torvalds1-13/+32
2007-03-02Add core.symlinks to mark filesystems that do not support symbolic links.Johannes Sixt1-3/+6
2007-02-27convert object type handling from a string to a numberNicolas Pitre1-3/+3
2007-02-14Lazy man's auto-CRLFLinus Torvalds1-1/+15
2007-02-13Mark places that need blob munging later for CRLF conversion.Linus Torvalds1-0/+1
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullAndy Whitcroft1-2/+2
2006-12-20simplify inclusion of system header files.Junio C Hamano1-2/+0
2006-08-26Use PATH_MAX instead of MAXPATHLENJonas Fonseca1-3/+1
2006-04-04Use blob_, commit_, tag_, and tree_type throughout.Peter Eriksen1-1/+2
2006-03-05Add --temp and --stage=all options to checkout-index.Shawn Pearce1-10/+32
2006-02-08"Assume unchanged" gitJunio C Hamano1-1/+1
2006-01-27checkout: do not make a temporary copy of symlink target.Junio C Hamano1-6/+3
2006-01-05trivial: O_EXCL makes O_TRUNC redundantAlex Riesen1-1/+1
2005-10-04Return error when not checking out an entry due to dirtiness.Junio C Hamano1-1/+1
2005-09-07Big tool rename.Junio C Hamano1-6/+6
2005-07-14Fix replacing of a directory with a file/symlink in git-checkout-cacheLinus Torvalds1-12/+8
2005-07-13Make "git-checkout" create files with O_EXCLLinus Torvalds1-2/+2
2005-07-06[PATCH] Let umask do its work upon filesystem object creation.Junio C Hamano1-2/+2
2005-06-05Fix entry.c dependency and compile problemLinus Torvalds1-1/+1
2005-06-05Make fiel checkout function available to the git libraryLinus Torvalds1-0/+160