summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2007-02-14 17:11:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-14 23:22:08 (GMT)
commit78a28df9388cccb1ec85aa5642808f0d3392155f (patch)
tree6d34e910bb9eaf23e18d7e5089fb1c0c322fdcc2 /diff.h
parent5faaf24634a4d3a630bd3655cc85fa96f8bc1903 (diff)
downloadgit-78a28df9388cccb1ec85aa5642808f0d3392155f.zip
git-78a28df9388cccb1ec85aa5642808f0d3392155f.tar.gz
git-78a28df9388cccb1ec85aa5642808f0d3392155f.tar.bz2
sha1_file.c: Round the mmap offset to half the window size.
This ensures that a given area is mapped at most twice, and greatly reduces the virtual address space usage. Signed-off-by: Alexandre Julliard <julliard@winehq.org> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions