From: Evgeny Cherpak <cherpake@me.com>
To: Eric Sunshine <sunshine@sunshineco.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: Gitk doesn't work on macOS Mojave
Date: Fri, 20 Jul 2018 09:26:55 +0300 [thread overview]
Message-ID: <CC28BF55-9334-42A8-8A40-5D3E54BF8961@me.com> (raw)
In-Reply-To: <CAPig+cTJvJLMe4CFOb-yxqwF4udvs4G-BUiT=Kp-NZcfAWAyiQ@mail.gmail.com>
👍
> On 20 Jul 2018, at 9:25, Eric Sunshine <sunshine@sunshineco.com> wrote:
>
> [re-adding cc:git]
>
> On Fri, Jul 20, 2018 at 12:38 AM Evgeny Cherpak <cherpake@me.com> wrote:
>>> On 20 Jul 2018, at 7:30, Eric Sunshine <sunshine@sunshineco.com> wrote:
>>>
>>> On Fri, Jul 20, 2018 at 12:11 AM Evgeny Cherpak <cherpake@me.com> wrote:
>>>> Not sure what you referring to?
>>>> Is it alternative to gitk? How I install it?
>>>
>>> This: https://git-scm.com/docs/git-gui
>>>
>>> It's not an alternative to gitk, but complements it by providing
>>> ability to stage and create commits, show blame information
>>> graphically, etc.
>>>
>>> It's a standard part of the Git distribution, although it may not be
>>> installed by default, depending upon your platform and the packager.
>>> Some Linux distributions, for instance, may place it in a separate
>>> package for installation (named "git-gui" or something).
>>
>> Just tried it - it works, but doesn't get focus.
>
> Looking more closely, the code in "git gui" is catching and silently
> ignoring errors:
>
> ## On Mac, bring the current Wish process window to front
> if {[tk windowingsystem] eq "aqua"} {
> catch {
> exec osascript -e [format {
> tell application "System Events"
> set frontmost of processes whose unix id is %d to true
> end tell
> } [pid]]
> }
> }
>
> which explains why you don't see the "Not authorized to send Apple
> events" error you see with gitk, and also explains why the application
> doesn't get focus.
>
> So, updating gitk to mirror git-gui might be one way forward.
next prev parent reply other threads:[~2018-07-20 6:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-19 18:05 Gitk doesn't work on macOS Mojave Evgeny Cherpak
2018-07-19 19:12 ` Eric Sunshine
2018-07-19 21:11 ` Evgeny Cherpak
2018-07-19 21:49 ` Eric Sunshine
[not found] ` <BD1EAEBF-B125-4D3E-A814-F8824E5D2CA8@me.com>
[not found] ` <CAPig+cTRdh56VVcOGzeJmUN-L0-v2i+rCdMGxdr1FEUgfUGw4g@mail.gmail.com>
[not found] ` <5196A9EF-3967-4E4A-A929-58CD8BE72150@me.com>
[not found] ` <CAPig+cRDTMW5O1T20CnK03wWb9W8ev9q34U4P4rRk-3hrnNfGg@mail.gmail.com>
[not found] ` <C9089D48-5516-4EF9-9260-BADD62FA3CBD@me.com>
2018-07-20 6:25 ` Eric Sunshine
2018-07-20 6:26 ` Evgeny Cherpak [this message]
2018-07-24 6:51 ` [PATCH] gitk: fix MacOS 10.14 "Mojave" crash on launch Eric Sunshine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CC28BF55-9334-42A8-8A40-5D3E54BF8961@me.com \
--to=cherpake@me.com \
--cc=git@vger.kernel.org \
--cc=sunshine@sunshineco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).