Avoid showing .git dirs in the recent documents menu.

Instead (for non-bare repos) add the directory above the .git dir.
This commit is contained in:
Ciarán Walsh
2008-08-18 22:13:51 +01:00
committed by Pieter de Bie
parent d320a4bc43
commit 12faa4a8f0
3 changed files with 21 additions and 0 deletions
+5
View File
@@ -24,4 +24,9 @@
{
return [super documentForURL:[PBGitRepository gitDirForURL:URL]];
}
- (void)noteNewRecentDocumentURL:(NSURL*)url
{
[super noteNewRecentDocumentURL:[PBGitRepository baseDirForURL:url]];
}
@end