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:
parent
dcadc8b806
commit
4f1bbd23af
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user