Merge branch 'sb/submodule-diff-header-fix'

Error message tweak.

* sb/submodule-diff-header-fix:
  submodule: correct error message for missing commits
This commit is contained in:
Junio C Hamano
2017-10-03 15:42:49 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ static void show_submodule_header(struct diff_options *o, const char *path,
if (add_submodule_odb(path)) {
if (!message)
message = "(not initialized)";
message = "(commits not present)";
goto output_header;
}