Skip to content

Commit 2541fb5

Browse files
committed
Merge remote-tracking branch 'refs/remotes/laullon/master'
2 parents 0924184 + 02d04c2 commit 2541fb5

File tree

5 files changed

+230
-932
lines changed

5 files changed

+230
-932
lines changed

ApplicationController.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ - (void)applicationDidFinishLaunching:(NSNotification*)notification
6666
[[SUUpdater sharedUpdater] setSendsSystemProfile:YES];
6767
[[SUUpdater sharedUpdater] setDelegate:self];
6868

69+
if ([PBGitDefaults useAskPasswd]) {
6970
// Make sure Git's SSH password requests get forwarded to our little UI tool:
7071
setenv( "SSH_ASKPASS", [[[NSBundle mainBundle] pathForResource: @"gitx_askpasswd" ofType: @""] UTF8String], 1 );
7172
setenv( "DISPLAY", "localhost:0", 1 );
72-
73+
}
74+
7375
[self registerServices];
7476

7577
BOOL hasOpenedDocuments = NO;

0 commit comments

Comments
 (0)