From 13b554e3769a04a9fdfdfe7676eea0b867aba10d Mon Sep 17 00:00:00 2001 From: Sascha Cunz Date: Thu, 13 Sep 2012 23:30:31 +0200 Subject: [PATCH] Fix error text s/buffer too long/buffer too short/ --- src/repository.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repository.c b/src/repository.c index bcc6b1503..87022523c 100644 --- a/src/repository.c +++ b/src/repository.c @@ -430,7 +430,7 @@ int git_repository_discover( if (size < (size_t)(path.size + 1)) { giterr_set(GITERR_REPOSITORY, - "The given buffer is too long to store the discovered path"); + "The given buffer is too small to store the discovered path"); git_buf_free(&path); return -1; }