summaryrefslogtreecommitdiff
path: root/object-file.c
Commit message (Expand)AuthorAgeFilesLines
* misc *.c: use designated initializers for struct assignmentsÆvar Arnfjörð Bjarmason2022-03-171-4/+5
* Merge branch 'ab/object-file-api-updates'Junio C Hamano2022-03-161-52/+93
|\
| * object-file API: pass an enum to read_object_with_reference()Ævar Arnfjörð Bjarmason2022-02-251-3/+2
| * object-file.c: add a literal version of write_object_file_prepare()Ævar Arnfjörð Bjarmason2022-02-251-10/+29
| * object-file API: have hash_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason2022-02-251-14/+21
| * object API: rename hash_object_file_literally() to write_*()Ævar Arnfjörð Bjarmason2022-02-251-3/+3
| * object-file API: split up and simplify check_object_signature()Ævar Arnfjörð Bjarmason2022-02-251-14/+18
| * object API users + docs: check <0, not !0 with check_object_signature()Ævar Arnfjörð Bjarmason2022-02-251-1/+1
| * object API docs: move check_object_signature() docs to cache.hÆvar Arnfjörð Bjarmason2022-02-251-6/+0
| * object API: correct "buf" v.s. "map" mismatch in *.c and *.hÆvar Arnfjörð Bjarmason2022-02-251-5/+5
| * object-file API: have write_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason2022-02-251-5/+5
| * object-file API: add a format_object_header() functionÆvar Arnfjörð Bjarmason2022-02-251-3/+20
| * object-file API: return "void", not "int" from hash_object_file()Ævar Arnfjörð Bjarmason2022-02-251-8/+8
| * object-file.c: split up declaration of unrelated variablesÆvar Arnfjörð Bjarmason2022-02-251-1/+2
* | object-file: use designated initializers for "struct git_hash_algo"Ævar Arnfjörð Bjarmason2022-02-241-39/+39
|/
* Merge branch 'ns/tmp-objdir'Junio C Hamano2022-01-031-2/+48
|\
| * tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh2021-12-081-0/+6
| * tmp-objdir: new API for creating temporary writable databasesNeeraj Singh2021-12-081-2/+42
* | Merge branch 'ab/run-command'Junio C Hamano2021-12-151-1/+1
|\ \
| * | run-command API: remove "env" member, always use "env_array"Ævar Arnfjörð Bjarmason2021-11-251-1/+1
* | | Merge branch 'hn/reftable'Junio C Hamano2021-12-151-5/+2
|\ \ \
| * | | hash.h: provide constants for the hash IDsHan-Wen Nienhuys2021-09-071-5/+2
* | | | Merge branch 'po/size-t-for-vs'Junio C Hamano2021-12-101-1/+1
|\ \ \ \
| * | | | object-file.c: LLP64 compatibility, upcast unity for left shiftPhilip Oakley2021-12-011-1/+1
| | |/ / | |/| |
* | | | Merge branch 'mc/clean-smudge-with-llp64'Junio C Hamano2021-11-291-3/+3
|\ \ \ \ | |/ / / |/| | |
| * | | odb: guard against data loss checking out a huge fileMatt Cooper2021-11-031-3/+3
* | | | Merge branch 'ab/fsck-unexpected-type'Junio C Hamano2021-11-121-3/+2
|\ \ \ \
| * | | | object-file: free(*contents) only in read_loose_object() callerÆvar Arnfjörð Bjarmason2021-11-111-5/+2
| * | | | object-file: fix SEGV on free() regression in v2.34.0-rc2Ævar Arnfjörð Bjarmason2021-11-111-0/+2
* | | | | Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store'Junio C Hamano2021-10-251-8/+12
|\ \ \ \ \
| * | | | | commit: fix duplication regression in permission error outputÆvar Arnfjörð Bjarmason2021-10-121-8/+12
| | |_|/ / | |/| | |
* | | | | Merge branch 'jt/no-abuse-alternate-odb-for-submodules'Junio C Hamano2021-10-251-1/+8
|\ \ \ \ \
| * | | | | object-file: only register submodule ODB if neededJonathan Tan2021-10-081-1/+8
| | |_|_|/ | |/| | |
* | | | | Merge branch 'ab/fsck-unexpected-type'Junio C Hamano2021-10-251-99/+77
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | fsck: report invalid object type-path combinationsÆvar Arnfjörð Bjarmason2021-10-011-11/+10
| * | | | fsck: don't hard die on invalid object typesÆvar Arnfjörð Bjarmason2021-10-011-12/+6
| * | | | object-file.c: stop dying in parse_loose_header()Ævar Arnfjörð Bjarmason2021-10-011-34/+33
| * | | | object-file.c: return ULHR_TOO_LONG on "header too long"Ævar Arnfjörð Bjarmason2021-10-011-2/+6
| * | | | object-file.c: use "enum" return type for unpack_loose_header()Ævar Arnfjörð Bjarmason2021-10-011-13/+21
| * | | | object-file.c: simplify unpack_loose_short_header()Ævar Arnfjörð Bjarmason2021-10-011-38/+20
| * | | | object-file.c: make parse_loose_header_extended() publicÆvar Arnfjörð Bjarmason2021-10-011-13/+7
| * | | | object-file.c: return -1, not "status" from unpack_loose_header()Ævar Arnfjörð Bjarmason2021-10-011-1/+1
| * | | | object-file.c: don't set "typep" when returning non-zeroÆvar Arnfjörð Bjarmason2021-10-011-2/+0
| | |_|/ | |/| |
* | | | Merge branch 'hn/refs-errno-cleanup'Junio C Hamano2021-10-031-68/+0
|\ \ \ \ | |_|/ / |/| | |
| * | | refs file backend: move raceproof_create_file() hereÆvar Arnfjörð Bjarmason2021-08-251-68/+0
* | | | Merge branch 'rs/packfile-bad-object-list-in-oidset'Junio C Hamano2021-09-231-2/+2
|\ \ \ \
| * | | | packfile: convert has_packed_and_bad() to object_idRené Scharfe2021-09-121-1/+1
| * | | | packfile: convert mark_bad_packed_object() to object_idRené Scharfe2021-09-121-1/+1
| | |_|/ | |/| |
* | | | Merge branch 'jt/grep-wo-submodule-odb-as-alternate'Junio C Hamano2021-09-201-0/+5
|\ \ \ \
| * | | | submodule: lazily add submodule ODBs as alternatesJonathan Tan2021-09-081-0/+5