Skip to content

Commit

Permalink
mv: no SP between function name and the first opening parenthese
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Sep 3, 2014
1 parent dcadc8b commit 4f1bbd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]);
Expand Down

0 comments on commit 4f1bbd2

Please sign in to comment.