Skip to content

Commit 3674dca

Browse files
committed
Merge pull request brotherbard#81 from Uncommon/comments
Add comments
2 parents 1b9e07c + 4e456d1 commit 3674dca

7 files changed

+11
-1
lines changed

PBCommitList.h

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
@class PBWebHistoryController;
1414

15+
// Displays the list of commits. Additional behavior includes special key
16+
// handling and hiliting search results.
17+
// dataSource: PBRefController
18+
// delegate: PBGitHistoryController
1519
@interface PBCommitList : NSTableView {
1620
IBOutlet WebView* webView;
1721
IBOutlet PBWebHistoryController *webController;

PBCommitMessageView.h

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#import <Cocoa/Cocoa.h>
1010

11+
// Adds the column guide displayed in the commit message field
1112
@interface PBCommitMessageView : NSTextView {
1213

1314
}

PBFileChangesTableView.h

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#import <Cocoa/Cocoa.h>
1010

1111

12+
// File list used in both the staged and unstaged sides of the commit view.
13+
// datasource and deletage are PBGitIndexController.
1214
@interface PBFileChangesTableView : NSTableView {
1315
}
1416

PBGitBinary.h

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#define MIN_GIT_VERSION "1.6.0"
1313

14+
// Returns information about the git binary used to execute commands.
1415
@interface PBGitBinary : NSObject {
1516

1617
}

PBGitHistoryController.h

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
@class PBHistorySearchController;
2424

25+
// Controls the split history view from PBGitHistoryView.xib
2526
@interface PBGitHistoryController : PBViewController PROTOCOL_10_6(NSOutlineViewDelegate){
2627
IBOutlet PBRefController *refController;
2728
IBOutlet NSSearchField *searchField;

PBGitWindowController.h

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
@class PBViewController, PBGitSidebarController, PBGitCommitController;
1616

17+
// Controls the main repository window from RepositoryWindow.xib
1718
@interface PBGitWindowController : NSWindowController PROTOCOL_10_6(NSWindowDelegate){
1819
__weak PBGitRepository* repository;
1920

PBSourceViewItem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
- (void)removeChild:(PBSourceViewItem *)child;
3737

3838
// This adds the ref to the path, which should match the item's title,
39-
// so "refs/heads/pu/pb/sidebar" would have the path [@"pu", @"pb", @"sidebare"]
39+
// so "refs/heads/pu/pb/sidebar" would have the path [@"pu", @"pb", @"sidebar"]
4040
// to the 'local' branch thing
4141
- (void)addRev:(PBGitRevSpecifier *)revSpecifier toPath:(NSArray *)path;
4242
- (PBSourceViewItem *)findRev:(PBGitRevSpecifier *)rev;

0 commit comments

Comments
 (0)