Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
mv: no SP between function name and the first opening parenthese
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sun, 10 Aug 2014 02:29:36 +0000
(09:29 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 3 Sep 2014 22:06:59 +0000
(15:06 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mv.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
dcadc8b
)
diff --git
a/builtin/mv.c
b/builtin/mv.c
index e2535505511678d8cda0a60930983753da79cc83..bf784cb94361f8db5ea17906d0199284a04be99a 100644
(file)
--- 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)
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;
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)
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]);
if (submodule_gitfile[i]) {
if (submodule_gitfile[i] != SUBMODULE_WITH_GITDIR)
connect_work_tree_and_git_dir(dst, submodule_gitfile[i]);