Assorted typo fixes

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Pavel Roskin
2007-02-03 23:49:16 -05:00
committed by Junio C Hamano
parent 0f39087589
commit 3dff5379bf
27 changed files with 41 additions and 41 deletions

View File

@ -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");