Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tr/mergetool-valgrind'
[gitweb.git]
/
builtin
/
branch.c
diff --git
a/builtin/branch.c
b/builtin/branch.c
index aa705a0fb0b7d4cdd0fb29fc4853b8c8c05c625d..f49596f826228e22d354194ddbb73ec100d8728e 100644
(file)
--- a/
builtin/branch.c
+++ b/
builtin/branch.c
@@
-566,7
+566,7
@@
static void rename_branch(const char *oldname, const char *newname, int force)
die(_("Invalid branch name: '%s'"), oldname);
}
- validate_new_branchname(newname, &newref, force);
+ validate_new_branchname(newname, &newref, force
, 0
);
strbuf_addf(&logmsg, "Branch: renamed %s to %s",
oldref.buf, newref.buf);