summaryrefslogtreecommitdiff
path: root/sha1_file.c
AgeCommit message (Expand)AuthorFilesLines
2007-03-07Fix mmap leak caused by reading bad indexes.Shawn O. Pearce1-9/+16
2007-03-07Display the null SHA-1 as the base for an OBJ_OFS_DELTA.Shawn O. Pearce1-0/+1
2007-03-05unpack_sha1_file(): detect corrupt loose object files.Junio C Hamano1-8/+19
2007-02-28index_fd(): convert blob only if it is a regular file.Junio C Hamano1-1/+1
2007-02-28index_fd(): pass optional path parameter as hint for blob conversionJunio C Hamano1-3/+3
2007-02-28index_fd(): use enum object_type instead of type name string.Junio C Hamano1-6/+7
2007-02-27convert object type handling from a string to a numberNicolas Pitre1-90/+82
2007-02-27formalize typename(), and add its reverse type_from_string()Nicolas Pitre1-14/+5
2007-02-27sha1_file.c: don't ignore an error condition in sha1_loose_object_info()Nicolas Pitre1-1/+1
2007-02-27sha1_file.c: cleanup "offset" usageNicolas Pitre1-59/+51
2007-02-27sha1_file.c: cleanup hdr usageNicolas Pitre1-12/+12
2007-02-22Merge branches 'lt/crlf' and 'jc/apply-config'Junio C Hamano1-2/+21
2007-02-15pretend-sha1: grave bugfix.Junio C Hamano1-1/+3
2007-02-14sha1_file.c: Round the mmap offset to half the window size.Alexandre Julliard1-5/+3
2007-02-14Lazy man's auto-CRLFLinus Torvalds1-2/+21
2007-02-13Mark places that need blob munging later for CRLF conversion.Linus Torvalds1-0/+1
2007-02-05Add pretend_sha1_file() interface.Junio C Hamano1-0/+57
2007-02-03Assorted typo fixesPavel Roskin1-1/+1
2007-02-02Don't leak file descriptors from unavailable pack files.Shawn O. Pearce1-1/+16
2007-02-01Don't find objects in packs which aren't available anymore.Shawn O. Pearce1-0/+12
2007-02-01Refactor open_packed_git to return an error code.Shawn O. Pearce1-15/+16
2007-02-01Correct comment in prepare_packed_git_one.Shawn O. Pearce1-1/+4
2007-02-01Cleanup prepare_packed_git_one to reuse install_packed_git.Shawn O. Pearce1-2/+1
2007-01-24Refactor the pack header reading function out of receive-pack.cJunio C Hamano1-0/+21
2007-01-22sha1_file.c: Avoid multiple calls to find_pack_entry().Peter Eriksen1-10/+9
2007-01-18Use fixed-size integers for .idx file I/OJunio C Hamano1-3/+3
2007-01-17Document pack .idx file format upgrade strategy.Shawn O. Pearce1-3/+14
2007-01-14Remove read_or_die in favor of better error messages.Shawn O. Pearce1-2/+4
2007-01-11Clean up write_in_full() usersLinus Torvalds1-8/+1
2007-01-11Avoid errors and warnings when attempting to do I/O on zero bytesEric Wong1-0/+2
2007-01-09Fix warnings in sha1_file.c - use C99 printf format if availablePavel Roskin1-4/+11
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullAndy Whitcroft1-13/+6
2007-01-08short i/o: fix calls to read to use xread or read_in_fullAndy Whitcroft1-1/+1
2006-12-29mmap: set FD_CLOEXEC for file descriptors we keep open for mmap()Junio C Hamano1-0/+11
2006-12-29Replace mmap with xmmap, better handling MAP_FAILED.Shawn O. Pearce1-13/+5
2006-12-29Release pack windows before reporting out of memory.Shawn O. Pearce1-0/+7
2006-12-29Create pack_report() as a debugging aid.Shawn O. Pearce1-0/+31
2006-12-29Support unmapping windows on 'temporary' packfiles.Shawn O. Pearce1-14/+26
2006-12-29Improve error message when packfile mmap fails.Shawn O. Pearce1-1/+3
2006-12-29Fully activate the sliding window pack access.Shawn O. Pearce1-13/+53
2006-12-29Unmap individual windows rather than entire files.Shawn O. Pearce1-15/+30
2006-12-29Document why header parsing won't exceed a window.Shawn O. Pearce1-4/+12
2006-12-29Loop over pack_windows when inflating/accessing data.Shawn O. Pearce1-7/+15
2006-12-29Replace use_packed_git with window cursors.Shawn O. Pearce1-46/+64
2006-12-29Refactor how we open pack files to prepare for multiple windows.Shawn O. Pearce1-40/+46
2006-12-29Refactor packed_git to prepare for sliding mmap windows.Shawn O. Pearce1-26/+25
2006-12-29Introduce new config option for mmap limit.Shawn O. Pearce1-2/+1
2006-12-29Replace unpack_entry_gently with unpack_entry.Shawn O. Pearce1-21/+12
2006-12-20clarify some error messages wrt unknown object typesNicolas Pitre1-2/+2
2006-11-27sha1_object_info(): be consistent with read_sha1_file()Johannes Schindelin1-15/+20