Commit 7a44cc41f48be544c8a54514eaa9ecf7efb884e3

nulltoken 2011-07-05T11:00:32

repository: fix typo'ed assert

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/repository.c b/src/repository.c
index 2cdb1c4..c9c28a9 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);