typofix: commit is spelled with two ems
[gitweb.git] / entry.c
diff --git a/entry.c b/entry.c
index c6f7fd7d825e1222f0ba70a66d9f462277257fae..acc892f9a62b5bc3d3442b044b29bf8d763bf3ba 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -200,9 +200,9 @@ static int write_entry(struct cache_entry *ce,
                break;
        case S_IFGITLINK:
                if (to_tempfile)
-                       return error("cannot create temporary subproject %s", path);
+                       return error("cannot create temporary submodule %s", path);
                if (mkdir(path, 0777) < 0)
-                       return error("cannot create subproject directory %s", path);
+                       return error("cannot create submodule directory %s", path);
                break;
        default:
                return error("unknown file mode for %s in index", path);