diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-06-01 12:54:15 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-06-01 12:54:15 -0700 |
commit | dd8a2070ce6cadc09c1eb167b856904aa75ba0ab (patch) | |
tree | 9c51b103dfd0c0b864e60df725513ea35cc9e834 | |
parent | 46d359d1c3d29248ae93120e87cb808c6699b8cb (diff) | |
parent | 286349c6ecc758da226ce2f4da6522b73eb78930 (diff) | |
download | libgit2-dd8a2070ce6cadc09c1eb167b856904aa75ba0ab.tar.gz |
Merge pull request #215 from schu/typos
Fix typos
-rw-r--r-- | src/fileops.c | 2 | ||||
-rw-r--r-- | tests/t10-refs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fileops.c b/src/fileops.c index 292673482..73939349d 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -131,7 +131,7 @@ int gitfo_isdir(const char *path) return git__throw(GIT_ENOTFOUND, "%s does not exist", path); if (!S_ISDIR(st.st_mode)) - return git__throw(GIT_ENOTFOUND, "%s is not a file", path); + return git__throw(GIT_ENOTFOUND, "%s is a file", path); return GIT_SUCCESS; } diff --git a/tests/t10-refs.c b/tests/t10-refs.c index ee006a8ce..4b34146ed 100644 --- a/tests/t10-refs.c +++ b/tests/t10-refs.c @@ -644,7 +644,7 @@ BEGIN_TEST(rename5, "can force-rename a reference with the name of an existing r /* An existing reference... */ must_pass(git_reference_lookup(&looked_up_ref, repo, packed_head_name)); - /* Can not be renamed to the name of another existing reference. */ + /* Can be force-renamed to the name of another existing reference. */ must_pass(git_reference_rename_f(looked_up_ref, packed_test_head_name)); /* Check we actually renamed it */ |