mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
69d67820f6
Checkout:
- PBGitRepository: add checkoutRefish:
- PBRefController: renamed checkoutRef: to checkout: and use new method in PBGitRepository
- add to the contextual menus for commits (it was already in the menu for refs)
- add "Checkout branch" checkbox to the Create Branch sheet
- store the state in the defaults
- tell the commitController to rearrangeObjects so that the refs highlight correctly (seems to only be a problem when going from a branch to a detached HEAD at the same commit)
26 lines
531 B
Objective-C
26 lines
531 B
Objective-C
//
|
|
// PBGitDefaults.h
|
|
// GitX
|
|
//
|
|
// Created by Jeff Mesnil on 19/10/08.
|
|
// Copyright 2008 Jeff Mesnil (http://jmesnil.net/). All rights reserved.
|
|
//
|
|
|
|
@interface PBGitDefaults : NSObject
|
|
{
|
|
|
|
}
|
|
|
|
+ (int) commitMessageViewVerticalLineLength;
|
|
+ (BOOL) isGistEnabled;
|
|
+ (BOOL) isGravatarEnabled;
|
|
+ (BOOL) confirmPublicGists;
|
|
+ (BOOL) isGistPublic;
|
|
+ (BOOL)showWhitespaceDifferences;
|
|
+ (BOOL)openCurDirOnLaunch;
|
|
+ (BOOL)showOpenPanelOnLaunch;
|
|
+ (BOOL) shouldCheckoutBranch;
|
|
+ (void) setShouldCheckoutBranch:(BOOL)shouldCheckout;
|
|
|
|
@end
|