Merge branch 'maint'

* maint:
  Fix non-literal format in printf-style calls
  git-submodule: Avoid printing a spurious message.
  git ls-remote: make usage string match manpage
  Makefile: help people who run 'make check' by mistake
This commit is contained in:
Junio C Hamano
2008-11-11 14:46:31 -08:00
11 changed files with 24 additions and 15 deletions

2
refs.c
View File

@ -940,7 +940,7 @@ int delete_ref(const char *refname, const unsigned char *sha1, int delopt)
lock->lk->filename[i] = 0;
path = lock->lk->filename;
} else {
path = git_path(refname);
path = git_path("%s", refname);
}
err = unlink(path);
if (err && errno != ENOENT) {