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)
|
if (!bad)
|
||||||
continue;
|
continue;
|
||||||
if (!ignore_errors)
|
if (!ignore_errors)
|
||||||
die (_("%s, source=%s, destination=%s"),
|
die(_("%s, source=%s, destination=%s"),
|
||||||
bad, src, dst);
|
bad, src, dst);
|
||||||
if (--argc > 0) {
|
if (--argc > 0) {
|
||||||
int n = argc - i;
|
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);
|
printf(_("Renaming %s to %s\n"), src, dst);
|
||||||
if (!show_only && mode != INDEX) {
|
if (!show_only && mode != INDEX) {
|
||||||
if (rename(src, dst) < 0 && !ignore_errors)
|
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]) {
|
||||||
if (submodule_gitfile[i] != SUBMODULE_WITH_GITDIR)
|
if (submodule_gitfile[i] != SUBMODULE_WITH_GITDIR)
|
||||||
connect_work_tree_and_git_dir(dst, submodule_gitfile[i]);
|
connect_work_tree_and_git_dir(dst, submodule_gitfile[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user