Commit 3827c923b8f2929524410a6292a4514d529b2c69

Vicent Martí 2011-07-05T12:32:20

Merge pull request #305 from nulltoken/patch-6 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);