mv: no SP between function name and the first opening parenthese

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2014-08-10 09:29:36 +07:00 коммит произвёл Junio C Hamano
Родитель dcadc8b806
Коммит 4f1bbd23af
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -229,7 +229,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
if (!bad)
continue;
if (!ignore_errors)
die (_("%s, source=%s, destination=%s"),
die(_("%s, source=%s, destination=%s"),
bad, src, dst);
if (--argc > 0) {
int n = argc - i;
@ -253,7 +253,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
printf(_("Renaming %s to %s\n"), src, dst);
if (!show_only && mode != INDEX) {
if (rename(src, dst) < 0 && !ignore_errors)
die_errno (_("renaming '%s' failed"), src);
die_errno(_("renaming '%s' failed"), src);
if (submodule_gitfile[i]) {
if (submodule_gitfile[i] != SUBMODULE_WITH_GITDIR)
connect_work_tree_and_git_dir(dst, submodule_gitfile[i]);