aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fsck.c
AgeCommit message (Expand)AuthorFilesLines
2018-09-17fsck: verify multi-pack-indexDerrick Stolee1-0/+18
2018-08-20treewide: use get_all_packsDerrick Stolee1-2/+2
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-1/+1
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-1/+1
2018-07-17commit-graph: add repo arg to graph readersJonathan Tan1-1/+1
2018-07-17Merge branch 'ds/commit-graph-fsck' into jt/commit-graph-per-object-storeJunio C Hamano1-0/+21
2018-06-29blob: add repository argument to lookup_blobStefan Beller1-1/+2
2018-06-29object: add repository argument to object_as_typeStefan Beller1-1/+1
2018-06-29object: add repository argument to parse_object_bufferStefan Beller1-2/+5
2018-06-29object: add repository argument to lookup_objectStefan Beller1-2/+3
2018-06-29object: add repository argument to parse_objectStefan Beller1-2/+2
2018-06-27fsck: verify commit-graphDerrick Stolee1-0/+21
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-1/+1
2018-05-29Sync with Git 2.17.1Junio C Hamano1-22/+23
2018-05-21fsck: call fsck_finish() after fscking objectsJeff King1-0/+3
2018-05-21fsck: actually fsck blob dataJeff King1-22/+20
2018-05-02packfile: convert has_sha1_pack to object_idbrian m. carlson1-1/+1
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-1/+2
2018-04-11Merge branch 'sb/packfiles-in-repository'Junio C Hamano1-2/+0
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-3/+10
2018-03-26packfile: keep prepare_packed_git() privateNguyễn Thái Ngọc Duy1-2/+0
2018-03-26packfile: add repository argument to prepare_packed_gitStefan Beller1-1/+1
2018-03-26sha1_file: add repository argument to prepare_alt_odbStefan Beller1-1/+1
2018-03-26object-store: move packed_git and packed_git_mru to object storeStefan Beller1-2/+4
2018-03-23object-store: move alt_odb_list and alt_odb_tail to object storeStefan Beller1-0/+4
2018-03-23object-store: migrate alternates struct and functions from cache.hStefan Beller1-0/+1
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-1/+1
2018-03-14sha1_file: convert read_loose_object to use struct object_idbrian m. carlson1-1/+1
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-2/+2
2018-02-15Merge branch 'jt/fsck-code-cleanup'Junio C Hamano1-1/+7
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-2/+2
2018-02-13Merge branch 'jh/fsck-promisors'Junio C Hamano1-1/+25
2018-01-23fsck: fix leak when traversing treesEric Wong1-1/+7
2017-12-08sha1_file: support lazily fetching missing objectsJonathan Tan1-0/+3
2017-12-05fsck: support promisor objects as CLI argumentJonathan Tan1-0/+2
2017-12-05fsck: support referenced promisor objectsJonathan Tan1-0/+11
2017-12-05fsck: support refs pointing to promisor objectsJonathan Tan1-0/+8
2017-12-05fsck: introduce partialclone extensionJonathan Tan1-1/+1
2017-11-15Merge branch 'bp/read-index-from-skip-verification'Junio C Hamano1-0/+1
2017-11-08read_index_from(): speed index loading by skipping verification of the entry ...Ben Peart1-0/+1
2017-10-16refs: convert resolve_ref_unsafe to struct object_idbrian m. carlson1-1/+1
2017-09-29Merge branch 'ma/leakplugs'Junio C Hamano1-6/+1
2017-09-24object_array: add and use `object_array_pop()`Martin Ågren1-6/+1
2017-09-10Merge branch 'rs/fsck-obj-leakfix' into maintJunio C Hamano1-11/+11
2017-08-26Merge branch 'jt/packmigrate'Junio C Hamano1-0/+1
2017-08-24Merge branch 'jc/simplify-progress'Junio C Hamano1-1/+1
2017-08-23pack: move open_pack_index(), parse_pack_index()Jonathan Tan1-0/+1
2017-08-22Merge branch 'rs/fsck-obj-leakfix'Junio C Hamano1-11/+11
2017-08-19progress: simplify "delayed" progress APIJunio C Hamano1-1/+1
2017-08-11Merge branch 'jt/fsck-code-cleanup'Junio C Hamano1-25/+16
2017-08-10fsck: free buffers on error in fsck_obj()René Scharfe1-11/+11
2017-07-26fsck: cleanup unused variableJonathan Tan1-3/+1
2017-07-20object: remove "used" field from struct objectJonathan Tan1-10/+14
2017-07-20fsck: remove redundant parse_tree() invocationJonathan Tan1-12/+1
2017-07-17builtin/fsck: convert remaining caller of get_sha1 to object_idbrian m. carlson1-4/+4
2017-07-05Merge branch 'rs/sha1-name-readdir-optim'Junio C Hamano1-1/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-24sha1_file: guard against invalid loose subdirectory numbersRené Scharfe1-1/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-2/+1
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-8/+8
2017-05-26use xfopen() in more placesNguyễn Thái Ngọc Duy1-2/+1
2017-05-16Merge branch 'js/larger-timestamps'Junio C Hamano1-3/+3
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-4/+4
2017-05-08Convert the verify_pack callback to struct object_idbrian m. carlson1-3/+3
2017-05-08Convert lookup_blob to struct object_idbrian m. carlson1-1/+1
2017-05-02Convert struct cache_tree to use struct object_idbrian m. carlson1-2/+2
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-2/+2
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin1-1/+1
2017-04-15read-cache: force_verify_index_checksumJeff Hostetler1-0/+1
2017-02-22Convert object iteration callbacks to struct object_idbrian m. carlson1-12/+12
2017-02-22refs: convert each_reflog_ent_fn to struct object_idbrian m. carlson1-8/+8
2017-01-31Merge branch 'jk/fsck-connectivity-check-fix'Junio C Hamano1-37/+81
2017-01-26fsck: lazily load types under --connectivity-onlyJeff King1-51/+7
2017-01-26fsck: move typename() printing to its own functionJeff King1-9/+20
2017-01-17fsck: check HAS_OBJ more consistentlyJeff King1-2/+2
2017-01-17fsck: do not fallback "git fsck <bogus>" to "git fsck"Jeff King1-1/+1
2017-01-17fsck: tighten error-checks of "git fsck <head>"Jeff King1-2/+5
2017-01-17fsck: prepare dummy objects for --connectivity-checkJeff King1-23/+97
2017-01-17fsck: report trees as danglingJeff King1-1/+1
2017-01-15fsck: parse loose object paths directlyJeff King1-13/+33
2016-10-10alternates: use a separate scratch spaceJeff King1-8/+2
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-1/+1
2016-07-28Merge branch 'nd/pack-ofs-4gb-limit'Junio C Hamano1-0/+4
2016-07-18fsck: optionally show more helpful info for broken linksJohannes Schindelin1-4/+38
2016-07-18fsck: give the error function a chance to see the fsck_optionsJohannes Schindelin1-1/+2
2016-07-18fsck: refactor how to describe objectsJohannes Schindelin1-14/+23
2016-07-13fsck: use streaming interface for large blobs in packNguyễn Thái Ngọc Duy1-0/+4
2016-04-10fsck_head_link(): remove unneeded flag variableMichael Haggerty1-2/+1
2015-11-20Remove get_object_hash.brian m. carlson1-2/+2
2015-11-20Convert struct object to object_idbrian m. carlson1-16/+16
2015-11-20Add several uses of get_object_hash.brian m. carlson1-2/+2
2015-10-20Merge branch 'jk/war-on-sprintf'Junio C Hamano1-120/+34
2015-10-15Merge branch 'jc/fsck-dropped-errors'Junio C Hamano1-4/+14
2015-10-05fsck: use for_each_loose_file_in_objdirJeff King1-46/+24
2015-10-05fsck: drop inode-sorting codeJeff King1-68/+2
2015-09-25fsck: use strbuf to generate alternate directoriesJeff King1-5/+6
2015-09-25fsck: don't fsck alternates for connectivity-only checkJeff King1-8/+9
2015-09-23fsck: exit with non-zero when problems are foundJunio C Hamano1-4/+14
2015-08-10prefer git_pathdup to git_path in some possibly-dangerous casesJeff King1-1/+3
2015-08-03Merge branch 'js/fsck-opt'Junio C Hamano1-25/+53
2015-06-24Merge branch 'mh/fsck-reflog-entries'Junio C Hamano1-14/+20
2015-06-23fsck: support ignoring objects in `git fsck` via fsck.skiplistJohannes Schindelin1-0/+13
2015-06-23fsck: introduce `git fsck --connectivity-only`Johannes Schindelin1-1/+6
2015-06-23fsck: support demoting errors to warningsJohannes Schindelin1-0/+12
2015-06-22fsck: introduce identifiers for fsck messagesJohannes Schindelin1-18/+8
2015-06-22fsck: introduce fsck optionsJohannes Schindelin1-6/+14
2015-06-08fsck: report errors if reflog entries point at invalid objectsMichael Haggerty1-4/+9
2015-06-08fsck_handle_reflog_sha1(): new functionMichael Haggerty1-14/+15
2015-05-25fsck: change functions to use object_idMichael Haggerty1-16/+13
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-2/+7
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-2/+2
2015-01-14standardize usage info string formatAlex Henrie1-1/+1
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-2/+2
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-1/+1
2014-09-26Merge branch 'js/fsck-tag-validation'Junio C Hamano1-1/+1
2014-09-19Merge branch 'jk/fsck-exit-code-fix'Junio C Hamano1-2/+4
2014-09-12fsck: return non-zero status on missing ref tipsJeff King1-1/+2
2014-09-10fsck_object(): allow passing object data separately from the object itselfJohannes Schindelin1-1/+1
2014-09-10fsck: exit with non-zero status upon error from fsck_obj()Jeff King1-1/+2
2014-07-16refs.c: add a public is_branch functionRonnie Sahlberg1-5/+0
2014-06-13provide a helper to free commit bufferJeff King1-2/+1
2014-03-14Merge branch 'mh/replace-refs-variable-rename'Junio C Hamano1-1/+1
2014-02-24i18n: mark all progress lines for translationNguyễn Thái Ngọc Duy1-3/+3
2014-02-20rename read_replace_refs to check_replace_refsMichael Haggerty1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-3/+3
2013-09-17Merge branch 'jk/free-tree-buffer'Junio C Hamano1-9/+8
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-8/+8
2013-06-06clear parsed flag when we free tree buffersJeff King1-9/+8
2013-05-28fsck: don't put a void*-shaped peg in a char*-shaped holeMichael Haggerty1-1/+1
2012-08-20i18n: fsck: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-12/+12
2012-03-07fsck: use streaming API for writing lost-found blobsNguyễn Thái Ngọc Duy1-6/+2
2012-02-28fsck: --no-dangling omits "dangling object" informationJunio C Hamano1-2/+5
2011-12-13Rename resolve_ref() to resolve_ref_unsafe()Nguyễn Thái Ngọc Duy1-1/+1
2011-11-06fsck: print progressNguyễn Thái Ngọc Duy1-2/+38
2011-11-06fsck: avoid reading every object twiceNguyễn Thái Ngọc Duy1-17/+25
2011-11-06fsck: return error code when verify_pack() goes wrongNguyễn Thái Ngọc Duy1-1/+3
2011-09-11fsck: do not abort upon finding an empty blobJunio C Hamano1-6/+3
2011-03-22Remove unused variablesJohannes Schindelin1-2/+1
2011-01-27fsck: do not give up too early in fsck_dir()Junio C Hamano1-6/+12
2011-01-27fsck: drop unused parameter from traverse_one_object()Junio C Hamano1-3/+10
2010-11-15add description parameter to OPT__VERBOSERené Scharfe1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+684