]> git.proxmox.com Git - libgit2.git/commitdiff
fix typo
authorRussell Belfer <rb@github.com>
Wed, 1 May 2013 12:32:10 +0000 (05:32 -0700)
committerRussell Belfer <rb@github.com>
Wed, 1 May 2013 12:32:10 +0000 (05:32 -0700)
src/clone.c

index a1978869957b2fc8cffa3495166265ca80a2e892..36da9c276bce27985dec1dd2e998bdb96a11a897 100644 (file)
@@ -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;
        }