aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
AgeCommit message (Expand)AuthorFilesLines
2015-08-03Merge branch 'mh/replace-refs'Junio C Hamano1-0/+2
2015-06-24Merge branch 'jk/index-pack-reduce-recheck'Junio C Hamano1-1/+10
2015-06-24Merge branch 'js/sleep-without-select'Junio C Hamano1-0/+1
2015-06-12Allow to control where the replace refs are looked forMike Hommey1-0/+2
2015-06-09index-pack: avoid excessive re-reading of pack directoryJeff King1-1/+10
2015-06-05help.c: wrap wait-only poll() invocation in sleep_millisec()Johannes Sixt1-0/+1
2015-06-01Merge branch 'dt/cat-file-follow-symlinks'Junio C Hamano1-7/+13
2015-05-26Merge branch 'nd/untracked-cache'Junio C Hamano1-0/+6
2015-05-22Merge branch 'jc/ignore-epipe-in-filter'Junio C Hamano1-0/+4
2015-05-20sha1_name: get_sha1_with_context learns to follow symlinksDavid Turner1-7/+13
2015-05-19copy.c: make copy_fd() report its status silentlyJunio C Hamano1-0/+4
2015-05-19Merge branch 'kn/cat-file-literally'Junio C Hamano1-0/+2
2015-05-11Merge branch 'pt/xdg-config-path'Junio C Hamano1-1/+7
2015-05-11Merge branch 'jc/hash-object'Junio C Hamano1-0/+1
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-5/+12
2015-05-06sha1_file: support reading from a loose object of unknown typeKarthik Nayak1-0/+2
2015-05-06path.c: remove home_config_paths()Paul Tan1-1/+0
2015-05-06path.c: implement xdg_config_home()Paul Tan1-0/+7
2015-05-05Merge branch 'jk/prune-mtime'Junio C Hamano1-3/+6
2015-05-05Merge branch 'bc/object-id'Junio C Hamano1-4/+36
2015-05-05hash-object --literally: fix buffer overrun with extra-long object typeEric Sunshine1-0/+1
2015-04-20sha1_file: only freshen packs once per runJeff King1-0/+1
2015-04-20reachable: only mark local objects as recentJeff King1-3/+5
2015-03-26Merge branch 'jc/report-path-error-to-dir'Junio C Hamano1-1/+0
2015-03-25Merge branch 'jk/prune-with-corrupt-refs'Junio C Hamano1-0/+8
2015-03-24report_path_error(): move to dir.cJunio C Hamano1-1/+0
2015-03-20refs: introduce a "ref paranoia" flagJeff King1-0/+8
2015-03-13define utility functions for object IDsbrian m. carlson1-4/+28
2015-03-13define a structure for object IDsbrian m. carlson1-0/+8
2015-03-12untracked cache: mark index dirty if untracked cache is updatedNguyễn Thái Ngọc Duy1-0/+1
2015-03-12untracked cache: avoid racy timestampsNguyễn Thái Ngọc Duy1-0/+2
2015-03-12untracked cache: save to an index extensionNguyễn Thái Ngọc Duy1-0/+3
2015-03-05Merge branch 'jk/prune-mtime' into maintJunio C Hamano1-0/+9
2015-03-05Merge branch 'jk/decimal-width-for-uintmax' into maintJunio C Hamano1-1/+1
2015-03-05Merge branch 'mh/refs-have-new'Junio C Hamano1-1/+1
2015-02-22Merge branch 'jk/prune-mtime'Junio C Hamano1-0/+9
2015-02-18Merge branch 'jk/decimal-width-for-uintmax'Junio C Hamano1-1/+1
2015-02-17refs.c: change some "flags" to "unsigned int"Michael Haggerty1-1/+1
2015-02-09for_each_loose_file_in_objdir: take an optional strbuf pathJeff King1-0/+9
2015-02-05decimal_width: avoid integer overflowJeff King1-1/+1
2014-12-22Merge branch 'dm/compat-s-ifmt-for-zos'Junio C Hamano1-7/+0
2014-12-17Sync with v2.1.4Junio C Hamano1-0/+3
2014-12-17Sync with v2.0.5Junio C Hamano1-0/+3
2014-12-17Sync with v1.9.5Junio C Hamano1-0/+3
2014-12-17Sync with v1.8.5.6Junio C Hamano1-0/+3
2014-12-17read-cache: optionally disallow NTFS .git variantsJohannes Schindelin1-0/+1
2014-12-17path: add is_ntfs_dotgit() helperJohannes Schindelin1-0/+1
2014-12-17read-cache: optionally disallow HFS+ .git variantsJeff King1-0/+1
2014-12-04compat: convert modes to use portable file type valuesDavid Michael1-7/+0
2014-12-01count-objects: report unused files in $GIT_DIR/worktrees/...Nguyễn Thái Ngọc Duy1-0/+1
2014-12-01wrapper.c: wrapper to open a file, fprintf then closeNguyễn Thái Ngọc Duy1-0/+2
2014-12-01setup.c: support multi-checkout repo setupNguyễn Thái Ngọc Duy1-0/+1
2014-12-01$GIT_COMMON_DIR: a new environment variableNguyễn Thái Ngọc Duy1-1/+3
2014-12-01git_path(): be aware of file relocation in $GIT_DIRNguyễn Thái Ngọc Duy1-0/+1
2014-12-01git_snpath(): retire and replace with strbuf_git_path()Nguyễn Thái Ngọc Duy1-2/+2
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-3/+3
2014-10-29Merge branch 'jk/prune-mtime'Junio C Hamano1-1/+45
2014-10-16sha1_file: add for_each iterators for loose and packed objectsJeff King1-0/+11
2014-10-16prune: factor out loose-object directory traversalJeff King1-0/+33
2014-10-16foreach_alt_odb: propagate return value from callbackJeff King1-1/+1
2014-10-15refs.c: allow listing and deleting badly named refsRonnie Sahlberg1-2/+15
2014-10-15branch -d: avoid repeated symref resolutionJonathan Nieder1-0/+6
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-11/+12
2014-10-14Merge branch 'mh/lockfile'Junio C Hamano1-19/+1
2014-10-08Merge branch 'sp/stream-clean-filter'Junio C Hamano1-0/+1
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-26/+1
2014-10-01get_locked_file_path(): new functionMichael Haggerty1-0/+1
2014-10-01lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFMichael Haggerty1-1/+1
2014-10-01commit_lock_file_to(): refactor a helper out of commit_lock_file()Michael Haggerty1-0/+1
2014-10-01lockfile: change lock_file::filename into a strbufMichael Haggerty1-1/+1
2014-10-01struct lock_file: declare some fields volatileMichael Haggerty1-3/+3
2014-10-01lockfile: avoid transitory invalid statesMichael Haggerty1-0/+1
2014-10-01cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENMichael Haggerty1-0/+4
2014-10-01unable_to_lock_die(): rename function from unable_to_lock_index_die()Michael Haggerty1-1/+1
2014-09-29Merge branch 'ta/config-add-to-empty-or-true-fix' into maintJunio C Hamano1-0/+2
2014-09-26Merge branch 'rs/realloc-array'Junio C Hamano1-1/+1
2014-09-26Merge branch 'jk/write-packed-refs-via-stdio'Junio C Hamano1-0/+2
2014-09-19Merge branch 'ta/config-add-to-empty-or-true-fix'Junio C Hamano1-0/+2
2014-09-19Merge branch 'jk/commit-author-parsing'Junio C Hamano1-2/+2
2014-09-19Merge branch 'bb/date-iso-strict'Junio C Hamano1-0/+1
2014-09-18use REALLOC_ARRAY for changing the allocation size of arraysRené Scharfe1-1/+1
2014-09-11config: avoid a funny sentinel value "a^"Jeff King1-0/+2
2014-09-11Merge branch 'ta/config-set-1'Junio C Hamano1-1/+33
2014-09-10refs: write packed_refs file using stdioJeff King1-0/+2
2014-09-02Merge branch 'ta/config-set'Junio C Hamano1-0/+32
2014-09-02Merge branch 'mm/config-edit-global'Junio C Hamano1-0/+1
2014-09-02Merge branch 'jc/reopen-lock-file'Junio C Hamano1-0/+1
2014-08-29pretty: provide a strict ISO 8601 date formatBeat Bolli1-0/+1
2014-08-28config.c: add git_env_ulong() to parse environment variableSteffen Prohaska1-0/+1
2014-08-27date: use strbufs in date-formatting functionsJeff King1-2/+2
2014-08-07rewrite git_config() to use the config-set APITanay Abhra1-0/+24
2014-08-07config: add `git_die_config()` to the config-set APITanay Abhra1-0/+3
2014-08-07change `git_config()` return value to voidTanay Abhra1-1/+1
2014-08-07add line number and file name info to `config_set`Tanay Abhra1-0/+5
2014-07-29add `config_set` API for caching config-like filesTanay Abhra1-0/+32
2014-07-28alloc: factor out commit indexJeff King1-0/+1
2014-07-25config --global --edit: create a template file if neededMatthieu Moy1-0/+1
2014-07-22Merge branch 'jk/alloc-commit-id'Junio C Hamano1-0/+1
2014-07-22Merge branch 'kb/perf-trace'Junio C Hamano1-11/+2
2014-07-21Merge branch 'rs/ref-transaction-0'Junio C Hamano1-1/+3
2014-07-16Merge branch 'kb/path-max-must-go'Junio C Hamano1-1/+1
2014-07-16Merge branch 'nd/split-index'Junio C Hamano1-4/+23
2014-07-14lockfile: allow reopening a closed but still locked fileJunio C Hamano1-0/+1
2014-07-14refs.c: make resolve_ref_unsafe set errno to something meaningful on errorRonnie Sahlberg1-1/+1
2014-07-14lockfile.c: add a new public function unable_to_lock_messageRonnie Sahlberg1-0/+2
2014-07-13alloc: factor out commit indexJeff King1-0/+1
2014-07-13cache.h: rename cache_def_free to cache_def_clearKarsten Blees1-1/+1
2014-07-10Merge branch 'kb/path-max-must-go'Junio C Hamano1-2/+6
2014-07-07symlinks: remove PATH_MAX limitationKarsten Blees1-2/+6
2014-06-25Merge branch 'ym/fix-opportunistic-index-update-race' into maintJunio C Hamano1-0/+3
2014-06-20cleanup duplicate name_compare() functionsJeremiah Mahler1-1/+1
2014-06-17trace: move trace declarations from cache.h to new trace.hKarsten Blees1-11/+2
2014-06-16Merge branch 'sk/windows-unc-path'Junio C Hamano1-1/+0
2014-06-13t1700: new tests for split-index modeNguyễn Thái Ngọc Duy1-0/+2
2014-06-13update-index: new options to enable/disable split index modeNguyễn Thái Ngọc Duy1-0/+1
2014-06-13split-index: strip pathname of on-disk replaced entriesNguyễn Thái Ngọc Duy1-0/+1
2014-06-13split-index: do not invalidate cache-tree at read timeNguyễn Thái Ngọc Duy1-0/+1
2014-06-13read-cache: mark updated entries for split indexNguyễn Thái Ngọc Duy1-0/+2
2014-06-13read-cache: split-index modeNguyễn Thái Ngọc Duy1-0/+3
2014-06-13read-cache: save index SHA-1 after readingNguyễ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/+1
2014-06-13cache-tree: mark istate->cache_changed on cache tree invalidationNguyễn Thái Ngọc Duy1-0/+1
2014-06-13resolve-undo: be specific what part of the index has changedNguyễn Thái Ngọc Duy1-0/+1
2014-06-13read-cache: be specific what part of the index has changedNguyễn Thái Ngọc Duy1-0/+5
2014-06-13read-cache: store in-memory flags in the first 12 bits of ce_flagsNguyễn Thái Ngọc Duy1-1/+1
2014-06-13read-cache: relocate and unexport commit_locked_index()Nguyễn Thái Ngọc Duy1-1/+0
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy1-2/+4
2014-06-10Windows: allow using UNC path for git repositoryCezary Zawadka1-1/+0
2014-06-06Merge branch 'nd/status-auto-comment-char'Junio C Hamano1-0/+1
2014-06-06Merge branch 'jk/squelch-compiler-warning-from-funny-error-macro'Junio C Hamano1-2/+2
2014-06-03Merge branch 'jk/commit-date-approxidate'Junio C Hamano1-0/+7
2014-06-03Merge branch 'ym/fix-opportunistic-index-update-race'Junio C Hamano1-0/+3
2014-06-03Merge branch 'ks/tree-diff-nway'Junio C Hamano1-0/+15
2014-05-19commit: allow core.commentChar=auto for character auto selectionNguyễn Thái Ngọc Duy1-0/+1
2014-05-06let clang use the constant-return error() macroJeff King1-1/+1
2014-05-06inline constant return from error() functionJeff King1-1/+1
2014-05-02pretty: make show_ident_date publicJeff King1-0/+7
2014-04-10read-cache.c: verify index file before we opportunistically update itYiannis Marangos1-0/+3
2014-04-07tree-diff: rework diff_tree() to generate diffs for multiparent cases as wellKirill Smelkov1-0/+15
2014-03-21Merge branch 'nd/tag-version-sort'Junio C Hamano1-0/+2
2014-03-18Merge branch 'jk/commit-dates-parsing-fix' into maintJunio C Hamano1-0/+1
2014-03-18Merge branch 'bk/refresh-missing-ok-in-merge-recursive' into maintJunio C Hamano1-1/+5
2014-03-14Merge branch 'mh/replace-refs-variable-rename'Junio C Hamano1-2/+25
2014-03-14Merge branch 'mh/object-code-cleanup'Junio C Hamano1-4/+64
2014-03-14Merge branch 'jk/commit-dates-parsing-fix'Junio C Hamano1-0/+1
2014-03-14Merge branch 'ks/config-file-stdin'Junio C Hamano1-2/+7
2014-03-07Merge branch 'jn/add-2.0-u-A-sans-pathspec'Junio C Hamano1-1/+0
2014-03-05Merge branch 'nd/daemonize-gc'Junio C Hamano1-0/+1
2014-02-28Add docstrings for lookup_replace_object() and do_lookup_replace_object()Michael Haggerty1-0/+13
2014-02-27tag: support --sort=<spec>Nguyễn Thái Ngọc Duy1-0/+2
2014-02-27Merge branch 'jk/pack-bitmap'Junio C Hamano1-0/+1
2014-02-27Merge branch 'nd/reset-intent-to-add'Junio C Hamano1-0/+1
2014-02-27Merge branch 'nd/submodule-pathspec-ending-with-slash'Junio C Hamano1-2/+0
2014-02-27Merge branch 'bk/refresh-missing-ok-in-merge-recursive'Junio C Hamano1-1/+5
2014-02-27Merge branch 'kb/fast-hashmap'Junio C Hamano1-11/+9
2014-02-24sha1_file.c: document a bunch of functions defined in the fileMichael Haggerty1-3/+63
2014-02-24name-hash: retire unused index_name_exists()Eric Sunshine1-2/+0
2014-02-24pathspec: convert some match_pathspec_depth() to ce_path_match()Nguyễn Thái Ngọc Duy1-2/+0
2014-02-24read-cache.c: extend make_cache_entry refresh flag with optionsBrad King1-1/+3
2014-02-24read-cache.c: refactor --ignore-missing implementationBrad King1-0/+2
2014-02-24date: check date overflow against time_tJeff King1-0/+1
2014-02-24sha1_file_name(): declare to return a const stringMichael Haggerty1-1/+1
2014-02-20rename read_replace_refs to check_replace_refsMichael Haggerty1-2/+12
2014-02-18config: teach "git config --file -" to read from the standard inputKirill A. Shutemov1-0/+1
2014-02-18config: change git_config_with_options() interfaceKirill A. Shutemov1-2/+6
2014-02-10daemon: move daemonize() to libgit.aNguyễn Thái Ngọc Duy1-0/+1
2014-02-05reset: support "--mixed --intent-to-add" modeNguyễn Thái Ngọc Duy1-0/+1
2014-01-27Merge branch 'mh/safe-create-leading-directories'Junio C Hamano1-2/+23
2014-01-27Merge branch 'mh/retire-ref-fetch-rules'Junio C Hamano1-3/+6
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-0/+3
2014-01-14refname_match(): always use the rules in ref_rev_parse_rulesMichael Haggerty1-3/+6
2014-01-10Merge branch 'jk/oi-delta-base'Junio C Hamano1-0/+1
2014-01-06safe_create_leading_directories(): add new error value SCLD_VANISHEDMichael Haggerty1-1/+9
2014-01-06safe_create_leading_directories(): introduce enum for return valuesMichael Haggerty1-2/+15
2013-12-26sha1_object_info_extended: provide delta base sha1sJeff King1-0/+1
2013-12-12sha1_object_info_extended(): add an "unsigned flags" parameterChristian Couder1-1/+1
2013-12-12sha1_file.c: add lookup_replace_object_extended() to pass flagsChristian Couder1-0/+6
2013-12-12rename READ_SHA1_FILE_REPLACE flag to LOOKUP_REPLACE_OBJECTChristian Couder1-2/+2
2013-12-10add GIT_SHALLOW_FILE to propagate --shallow-file to subprocessesNguyễn Thái Ngọc Duy1-0/+1
2013-12-10shallow.c: the 8 steps to select new commits for .git/shallowNguyễn Thái Ngọc Duy1-0/+2
2013-11-18remove old hash.[ch] implementationKarsten Blees1-1/+0
2013-11-18name-hash.c: remove cache entries instead of marking them CE_UNHASHEDKarsten Blees1-4/+2
2013-11-18name-hash.c: use new hash map implementation for cache entriesKarsten Blees1-3/+5
2013-11-18name-hash.c: use new hash map implementation for directoriesKarsten Blees1-1/+2
2013-11-08Merge branch 'jc/upload-pack-send-symref' into maintJunio C Hamano1-1/+0
2013-11-01Merge branch 'sb/refs-code-cleanup'Junio C Hamano1-1/+0
2013-10-30Merge branch 'nd/lift-path-max'Junio C Hamano1-0/+1
2013-10-28Merge branch 'jx/relative-path-regression-fix'Junio C Hamano1-0/+1
2013-10-28Merge branch 'jk/format-patch-from' into maintJunio C Hamano1-0/+9
2013-10-28cache: remove unused function 'have_git_dir'Stefan Beller1-1/+0
2013-10-24sha1_file: export `git_open_noatime`Vicent Marti1-0/+1
2013-10-24checkout_entry(): clarify the use of topath[] parameterJunio C Hamano1-0/+1
2013-10-17Merge branch 'jk/format-patch-from'Junio C Hamano1-0/+9
2013-10-17Merge branch 'es/name-hash-no-trailing-slash-in-dirs'Junio C Hamano1-0/+4
2013-10-14Use simpler relative_path when set_git_dirJiang Xin1-0/+1
2013-09-20Merge branch 'fc/at-head'Junio C Hamano1-1/+1
2013-09-20format-patch: print in-body "From" only when neededJeff King1-0/+9
2013-09-17connect.c: make parse_feature_value() staticJunio C Hamano1-1/+0
2013-09-17name-hash: refactor polymorphic index_name_exists()Eric Sunshine1-0/+4
2013-09-12Merge branch 'jk/config-int-range-check'Junio C Hamano1-0/+1