We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8507b commit c8ea4ebCopy full SHA for c8ea4eb
ObjectiveGit/GTRepository.m
@@ -738,7 +738,7 @@ - (GTSignature *)userSignatureForNow {
738
if (name.length == 0) name = self.class.defaultUserName;
739
740
NSString *email = [configuration stringForKey:@"user.email"];
741
- if (email == nil) email = self.class.defaultEmail;
+ if (email.length == 0) email = self.class.defaultEmail;
742
743
NSDate *now = [NSDate date];
744
GTSignature *signature = [[GTSignature alloc] initWithName:name email:email time:now];
0 commit comments