gitx icon indicating copy to clipboard operation
gitx copied to clipboard

Feature Request:

Open kennethreitz opened this issue 15 years ago • 2 comments

I get a little command + w happy on my mac. I often hit it just to close an application's active window, and click on the app's icon in the dock later.

Strangely, GitX seems to be one of these applications.

I do it all the time. I'll end up using gitx from the cli to open the window again, and end up with 5+ instances of gitx running, and a very clogged stdout.

I'd love to see gitx open the more recently when it's dock icon is clicked (already open, but without any active windows), or at least a hotkey to open the most recently accessed repository.

kennethreitz avatar Sep 13 '10 16:09 kennethreitz

I can't quite follow. GitX.app will only run once. gitx just sends a message to GitX and then quits, leaving behind no extra process.

This is with Nathan's experimental branch, but I'm quite sure the behavior is the same with 0.7.1 stable.

heipei avatar Sep 13 '10 17:09 heipei

Hmmm, well it appears i had a gitx alias to /Applications/GitX.app/Contents/MacOS/GitX.

Yes, I know that this is the experimental branch. I'm a big fan of it.

to clarify, the feature request is for GitX to have an option to open the most recent repository when the Dock icon is clicked on but the application is already running w/ no windows. If you click on textmate while it is open but has no windows open, it creates a new empty file.

If that doesn't seem like a good idea, then a hotkey to open the most recent repository would be wonderful.

kennethreitz avatar Sep 13 '10 17:09 kennethreitz