Skip to content

Commit 27f778d

Browse files
committed
Add a nicer description to PBGitRef
1 parent ba0ba3b commit 27f778d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Classes/git/PBGitRef.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ - (PBGitRef*) initWithString: (NSString*) s
131131
return self;
132132
}
133133

134+
- (NSString *)debugDescription {
135+
return [NSString stringWithFormat:@"<%@: %p ref: %@", NSStringFromClass([self class]), self, ref];
136+
}
137+
134138
+ (BOOL)isSelectorExcludedFromWebScript:(SEL)aSelector
135139
{
136140
return NO;

0 commit comments

Comments
 (0)