mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
e8131c3898
This allows you to do something like gitx --diff to display a diff similar to 'git diff', but with GitX prettification. It accepts all git diff parameters, so you can do something like gitx --diff HEAD~10 to show the diff compared to the last 10 commits. Or, you can something like git diff | gitx to pipe anything that produces a diff to GitX
25 lines
561 B
Objective-C
25 lines
561 B
Objective-C
//
|
|
// PBCLIProxy.h
|
|
// GitX
|
|
//
|
|
// Created by Ciarán Walsh on 15/08/2008.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
@interface PBCLIProxy : NSObject
|
|
{
|
|
NSConnection *connection;
|
|
}
|
|
@property (retain) NSConnection* connection;
|
|
@end
|
|
|
|
#define ConnectionName @"GitX DO Connection"
|
|
#define PBCLIProxyErrorDomain @"PBCLIProxyErrorDomain"
|
|
|
|
@protocol GitXCliToolProtocol
|
|
- (BOOL)openRepository:(NSURL*)repositoryPath arguments: (NSArray*) args error:(NSError**)error;
|
|
- (void)openDiffWindowWithDiff:(NSString *)diff;
|
|
@end |