You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Degrade gracefully if mmap is not allowed on this file system #4019
libgit2 returns an error when it cannot mmap a file. Certain file systems, e.g. network file systems, disallow mmap (or at least MAP_SHARED). It would be nice if libgit2 degraded gracefully.
Reproduction steps
Try to use a libgit2-based project on a network file system. In my case, this was DataWarp/GPFS, but I suspect the same is true for others as well. Example strace log:
Activity
amm1111 commentedon Dec 21, 2016
2