forked from pieter/gitx
-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Description
Digging into problem where i unable to open specific branch from command line i found that NSAppleEventDescriptor created in gitx.m#handleOpenRepository does't propagate to PBGitRepository. This: NSAppleEventDescriptor *currentAppleEvent = [[NSAppleEventManager sharedAppleEventManager] currentAppleEvent];
always return null on my machine.
I checked that event in gitx.m is created:
2013-06-12 10:35:06.219 gitx[1779:707] Params are(
gitdir
)
2013-06-12 10:35:06.221 gitx[1779:707] searchModeForCommandLineArgument gitdir
2013-06-12 10:35:06.221 gitx[1779:707] Recoding params for gui
2013-06-12 10:35:06.221 gitx[1779:707] Adding argument gitdir
2013-06-12 10:35:06.224 gitx[1779:707] Apple descriptor <NSAppleEventDescriptor: { 'ARGS':[ 'utxt'("gitdir") ], 'furl':'utxt'("file://localhost/Volumes/Secondary/Projects/gitx/") }>
2013-06-12 10:35:06.256 gitx[1779:707] Opened
Handling no arguments%
My knowledge of obj-c programming is not enough to progress further without advice.
Metadata
Metadata
Assignees
Labels
No labels