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
fsck.c
View File

@ -326,7 +326,7 @@ int fsck_error_function(struct object *obj, int type, const char *fmt, ...)
die("this should not happen, your snprintf is broken");
}
error(sb.buf);
error("%s", sb.buf);
strbuf_release(&sb);
return 1;
}