mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
21d1f3989f
This enables the user to force a commit (i.e. --no-verify) when either pre-commit or commit-msg hook fails.
25 lines
672 B
Objective-C
25 lines
672 B
Objective-C
//
|
|
// PBCommitHookFailedSheet.h
|
|
// GitX
|
|
//
|
|
// Created by Sebastian Staudt on 9/12/10.
|
|
// Copyright 2010 Sebastian Staudt. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "PBGitCommitController.h"
|
|
#import "PBGitXMessageSheet.h"
|
|
|
|
|
|
@interface PBCommitHookFailedSheet : PBGitXMessageSheet
|
|
{
|
|
PBGitCommitController *commitController;
|
|
}
|
|
|
|
+ (void)beginMessageSheetForWindow:(NSWindow *)parentWindow withMessageText:(NSString *)message infoText:(NSString *)info commitController:(PBGitCommitController *)controller;
|
|
|
|
- (id)initWithWindowNibName:(NSString *)windowNibName andController:(PBGitCommitController *)controller;
|
|
- (IBAction)forceCommit:(id)sender;
|
|
|
|
@end |