Merge branch 'maint'

* maint:
  Update draft release notes to 1.7.1.1
  notes: Initialise variable to appease gcc
  notes: check number of parameters to "git notes copy"
This commit is contained in:
Junio C Hamano
2010-06-28 17:42:26 -07:00
4 changed files with 27 additions and 2 deletions

View File

@ -614,6 +614,10 @@ static int copy(int argc, const char **argv, const char *prefix)
}
}
if (argc < 2) {
error("too few parameters");
usage_with_options(git_notes_copy_usage, options);
}
if (2 < argc) {
error("too many parameters");
usage_with_options(git_notes_copy_usage, options);