diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-12 17:55:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-12 17:56:25 -0700 |
commit | 7d5a1806e8c2d9980938a05a56939272ad2ec338 (patch) | |
tree | 6a09da6a7a0d76a3bf1fc0f2d860349c6efe1de9 /builtin-init-db.c | |
parent | 078688213f321ac52c224c1cfa264d686c7264bd (diff) | |
parent | c965c029330b1f81cc107c5d829e7fd79c61d8ea (diff) | |
download | git-7d5a1806e8c2d9980938a05a56939272ad2ec338.tar.gz |
Mark t1301 permission test to depend on POSIXPERM
This prepares the topic for inclusion to master.
Diffstat (limited to 'builtin-init-db.c')
-rw-r--r-- | builtin-init-db.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/builtin-init-db.c b/builtin-init-db.c index 8199e5d4d5..4e02b33bb7 100644 --- a/builtin-init-db.c +++ b/builtin-init-db.c @@ -130,8 +130,7 @@ static void copy_templates(const char *template_dir) } dir = opendir(template_path); if (!dir) { - fprintf(stderr, "warning: templates not found %s\n", - template_dir); + warning("templates not found %s", template_dir); return; } @@ -144,8 +143,8 @@ static void copy_templates(const char *template_dir) if (repository_format_version && repository_format_version != GIT_REPO_VERSION) { - fprintf(stderr, "warning: not copying templates of " - "a wrong format version %d from '%s'\n", + warning("not copying templates of " + "a wrong format version %d from '%s'", repository_format_version, template_dir); closedir(dir); |