aboutsummaryrefslogtreecommitdiff
path: root/builtin/mv.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-08-10 09:29:36 +0700
committerJunio C Hamano <gitster@pobox.com>2014-09-03 15:06:59 -0700
commit4f1bbd23af48e875420a22fa5fa23542f17d6e4d (patch)
tree8a63dbe0658457602ea2bf560ba0b261a08b5af4 /builtin/mv.c
parentdcadc8b80609f6857ab35163a8a6e08cdaf35b8f (diff)
downloadgit-4f1bbd23af48e875420a22fa5fa23542f17d6e4d.tar.gz
git-4f1bbd23af48e875420a22fa5fa23542f17d6e4d.tar.xz
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>
Diffstat (limited to 'builtin/mv.c')
-rw-r--r--builtin/mv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mv.c b/builtin/mv.c
index e25355055..bf784cb94 100644
--- a/builtin/mv.c
+++ b/builtin/mv.c
@@ -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]);