From 2d0bbecf55b10cd4b2d3602508bd7453da5b405e Mon Sep 17 00:00:00 2001 From: dbr Date: Thu, 21 May 2009 21:43:03 +0100 Subject: [PATCH] When selecting a folder in tree-view, display the path rather than the object. For example: "This is a tree with path " ..instead of: "This is a tree with path Documentation/ReleaseNotes" --- PBGitTree.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitTree.m b/PBGitTree.m index d871d55..51fadd2 100644 --- a/PBGitTree.m +++ b/PBGitTree.m @@ -66,7 +66,7 @@ - (NSString*) contents { if (!leaf) - return [NSString stringWithFormat:@"This is a tree with path %@", self]; + return [NSString stringWithFormat:@"This is a tree with path %@", [self fullPath]]; NSData* data = nil;