mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
committed by
Pieter de Bie
parent
d320a4bc43
commit
12faa4a8f0
@@ -24,4 +24,9 @@
|
||||
{
|
||||
return [super documentForURL:[PBGitRepository gitDirForURL:URL]];
|
||||
}
|
||||
|
||||
- (void)noteNewRecentDocumentURL:(NSURL*)url
|
||||
{
|
||||
[super noteNewRecentDocumentURL:[PBGitRepository baseDirForURL:url]];
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user