Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ab/hash-object-doc' into maint
[gitweb.git]
/
packfile.c
diff --git
a/packfile.c
b/packfile.c
index 49c8544ff4591e71e1845cd1b275d5fdb898b400..d786ec731202e5d623a7558bec2168194db11514 100644
(file)
--- a/
packfile.c
+++ b/
packfile.c
@@
-640,7
+640,7
@@
unsigned char *use_pack(struct packed_git *p,
while (packed_git_limit < pack_mapped
&& unuse_one_window(p))
; /* nothing */
- win->base = xmmap(NULL, win->len,
+ win->base = xmmap
_gently
(NULL, win->len,
PROT_READ, MAP_PRIVATE,
p->pack_fd, win->offset);
if (win->base == MAP_FAILED)