summaryrefslogtreecommitdiff
path: root/src/repository.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-07-05 11:00:32 -0700
committernulltoken <emeric.fermas@gmail.com>2011-07-05 11:00:32 -0700
commit7a44cc41f48be544c8a54514eaa9ecf7efb884e3 (patch)
tree7ca683570e3cf783e3fbb00caf07b022bc1a8ede /src/repository.c
parent0838ccc2fbe46827339ff1a987f6e1071860c78d (diff)
downloadlibgit2-7a44cc41f48be544c8a54514eaa9ecf7efb884e3.tar.gz
repository: fix typo'ed assert
Diffstat (limited to 'src/repository.c')
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index 2cdb1c480..c9c28a944 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -429,7 +429,7 @@ static int read_gitfile(char *path_out, const char *file_path, const char *base_
int error, end_offset;
char *data;
- assert(path_out && file_path && path_out);
+ assert(path_out && file_path && base_path);
error = git_futils_readbuffer(&file, file_path);