code and test: fix misuses of "nor"
Signed-off-by: Justin Lebar <jlebar@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
01689909eb
commit
235e8d5914
@ -480,8 +480,8 @@ sub refname {
|
||||
# It cannot end with a slash /, we'll throw up on this because
|
||||
# SVN can't have directories with a slash in their name, either:
|
||||
if ($refname =~ m{/$}) {
|
||||
die "ref: '$refname' ends with a trailing slash, this is ",
|
||||
"not permitted by git nor Subversion\n";
|
||||
die "ref: '$refname' ends with a trailing slash; this is ",
|
||||
"not permitted by git or Subversion\n";
|
||||
}
|
||||
|
||||
# It cannot have ASCII control character space, tilde ~, caret ^,
|
||||
|
Reference in New Issue
Block a user