Commit 46779411f93589fe567817fbdd61304847aa83c3

Russell Belfer 2013-05-01T05:32:10

fix typo

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/clone.c b/src/clone.c
index a197886..36da9c2 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -435,7 +435,7 @@ int git_clone(
 	/* Only clone to a new directory or an empty directory */
 	if (git_path_exists(local_path) && !git_path_is_empty_dir(local_path)) {
 		giterr_set(GITERR_INVALID,
-			"'%s' exists and is not an empty directory", path);
+			"'%s' exists and is not an empty directory", local_path);
 		return GIT_ERROR;
 	}