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