summaryrefslogtreecommitdiff
path: root/builtin-branch.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-02-03 23:49:16 -0500
committerJunio C Hamano <junkio@cox.net>2007-02-03 21:49:54 -0800
commit3dff5379bf1e3fda5e5a84ca5813b0c0cfd51be7 (patch)
tree86fe6fa503b65e19b37dceb5b7613602267a9bb1 /builtin-branch.c
parent0f3908758947b2279f5d2d4a294653d76a62d468 (diff)
downloadgit-3dff5379bf1e3fda5e5a84ca5813b0c0cfd51be7.tar.gz
Assorted typo fixes
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-branch.c')
-rw-r--r--builtin-branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-branch.c b/builtin-branch.c
index eaff54ec5f..9b68d3b69f 100644
--- a/builtin-branch.c
+++ b/builtin-branch.c
@@ -364,7 +364,7 @@ static void rename_branch(const char *oldname, const char *newname, int force)
unsigned char sha1[20];
if (!oldname)
- die("cannot rename the curren branch while not on any.");
+ die("cannot rename the current branch while not on any.");
if (snprintf(oldref, sizeof(oldref), "refs/heads/%s", oldname) > sizeof(oldref))
die("Old branchname too long");