summaryrefslogtreecommitdiff
path: root/src/filebuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filebuf.c')
-rw-r--r--src/filebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filebuf.c b/src/filebuf.c
index 9c3dae811..fb98c9e8a 100644
--- a/src/filebuf.c
+++ b/src/filebuf.c
@@ -29,7 +29,7 @@ static int verify_last_error(git_filebuf *file)
return -1;
case BUFERR_MEM:
- giterr_set_oom();
+ giterr_panic("buffer out of memory");
return -1;
case BUFERR_ZLIB: