aboutsummaryrefslogtreecommitdiffstats
path: root/csum-file.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-03-10csum-file: stop depending on `the_repository`Patrick Steinhardt1-12/+16
2025-02-10Merge branch 'ps/hash-cleanup'Junio C Hamano1-8/+8
2025-02-06Merge branch 'ps/zlib-ng'Junio C Hamano1-1/+2
2025-01-31global: adapt callers to use generic hash context helpersPatrick Steinhardt1-7/+7
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt1-1/+1
2025-01-28git-compat-util: move include of "compat/zlib.h" into "git-zlib.h"Patrick Steinhardt1-1/+2
2025-01-23csum-file: introduce hashfile_checkpoint_init()Taylor Blau1-0/+7
2025-01-23csum-file.c: use unsafe_hash_algo()Taylor Blau1-11/+11
2025-01-23csum-file.c: extract algop from hashfile_checksum_valid()Taylor Blau1-6/+7
2025-01-23csum-file: store the hash algorithm as a struct fieldTaylor Blau1-9/+11
2024-12-06csum-file: fix -Wsign-compare warning on 32-bit platformJunio C Hamano1-2/+1
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-09-27csum-file.c: use unsafe SHA-1 implementation when availableTaylor Blau1-9/+9
2024-08-23Merge branch 'ps/leakfixes-part-4'Junio C Hamano1-1/+1
2024-08-14bulk-checkin: fix leaking state TODOPatrick Steinhardt1-1/+1
2024-07-26csum-file: introduce discard_hashfile()Junio C Hamano1-0/+9
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+3
2024-06-14hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`Patrick Steinhardt1-3/+3
2023-09-13Merge branch 'ew/hash-with-openssl-evp'Junio C Hamano1-1/+1
2023-08-31treewide: fix various bugs w/ OpenSSL 3+ EVP APIEric Wong1-1/+1
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren1-0/+1
2023-03-21treewide: remove cache.h inclusion due to environment.h changesElijah Newren1-1/+1
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-0/+1
2023-01-07hashfile: allow skipping the hash functionDerrick Stolee1-3/+11
2022-03-10core.fsync: introduce granular fsync control infrastructureNeeraj Singh1-2/+3
2021-08-25use xopen() to handle fatal open(2) failuresRené Scharfe1-6/+2
2021-07-16Merge branch 'tb/midx-use-checksum'Junio C Hamano1-0/+16
2021-06-28csum-file: introduce checksum_valid()Taylor Blau1-0/+16
2021-05-19csum-file.h: increase hashfile buffer sizeDerrick Stolee1-20/+57
2021-05-18hashfile: use write_in_full()Derrick Stolee1-12/+5
2021-03-26csum-file: make hashwrite() more readableDerrick Stolee1-15/+18
2020-02-24hash: implement and use a context cloning functionbrian m. carlson1-1/+1
2018-04-02csum-file: refactor finalize_hashfile() methodDerrick Stolee1-4/+4
2018-04-02csum-file: rename hashclose() to finalize_hashfile()Derrick Stolee1-1/+1
2018-02-02csum-file: abstract uses of SHA-1brian m. carlson1-5/+5
2018-02-02csum-file: rename sha1file to hashfilebrian m. carlson1-18/+18
2017-09-27prefer "!=" when checking read_in_full() resultJeff King1-1/+1
2015-03-19sha1fd_check: die when we cannot open the fileJeff King1-7/+3
2014-01-10Merge branch 'jk/sha1write-void'Junio C Hamano1-2/+1
2013-12-26do not pretend sha1write returns errorsJeff King1-2/+1
2013-10-24sha1write: make buffer const-correctJeff King1-3/+3
2011-11-30csum-file: introduce sha1file_checkpointJunio C Hamano1-0/+20
2011-07-19Merge branch 'jc/index-pack'Junio C Hamano1-1/+45
2011-04-03sparse: Fix errors and silence warningsStephen Boyd1-1/+1
2011-02-27index-pack: --verifyJunio C Hamano1-1/+45
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-3/+2
2008-10-10Merge branch 'maint'Shawn O. Pearce1-6/+12
2008-10-10fix pread()'s short read in index-packNicolas Pitre1-6/+12
2008-10-02fix openssl headers conflicting with custom SHA1 implementationsNicolas Pitre1-4/+4