mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 15:30:18 +00:00
17f50e3f7e
Allows creating repositories from the command line, Applescript, or the scripting bridge. These are basic commands, if you need to use commandline options then use git itself.
45 lines
1.2 KiB
Objective-C
45 lines
1.2 KiB
Objective-C
//
|
|
// PBCloneRepositoryPanel.h
|
|
// GitX
|
|
//
|
|
// Created by Nathan Kinsinger on 2/7/10.
|
|
// Copyright 2010 Nathan Kinsinger. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
@interface PBCloneRepositoryPanel : NSWindowController {
|
|
NSTextField *repositoryURL;
|
|
NSTextField *destinationPath;
|
|
NSTextField *errorMessage;
|
|
NSView *repositoryAccessoryView;
|
|
|
|
NSOpenPanel *browseRepositoryPanel;
|
|
NSOpenPanel *browseDestinationPanel;
|
|
|
|
NSString *path;
|
|
BOOL isBare;
|
|
}
|
|
|
|
+ (id) panel;
|
|
+ (void)beginCloneRepository:(NSString *)repository toURL:(NSURL *)targetURL isBare:(BOOL)bare;
|
|
|
|
- (void)showMessageSheet:(NSString *)messageText infoText:(NSString *)infoText;
|
|
- (void)showErrorSheet:(NSError *)error;
|
|
|
|
- (IBAction) closeCloneRepositoryPanel:(id)sender;
|
|
- (IBAction) clone:(id)sender;
|
|
- (IBAction) browseRepository:(id)sender;
|
|
- (IBAction) showHideHiddenFiles:(id)sender;
|
|
- (IBAction) browseDestination:(id)sender;
|
|
|
|
@property (assign) IBOutlet NSTextField *repositoryURL;
|
|
@property (assign) IBOutlet NSTextField *destinationPath;
|
|
@property (assign) IBOutlet NSTextField *errorMessage;
|
|
@property (assign) IBOutlet NSView *repositoryAccessoryView;
|
|
|
|
@property (assign) BOOL isBare;
|
|
|
|
@end
|