gitx icon indicating copy to clipboard operation
gitx copied to clipboard

Should be able to disable remote updates on start

Open piotrb opened this issue 14 years ago • 4 comments

On slow internet connections should be able to disable remote updates so that launching gitx can be snappy. It seems that every time gitx is launched with a repository it will connect to remotes to fetch or something.

piotrb avatar Sep 13 '11 01:09 piotrb

It seems? Can you give more details?

Uncommon avatar Sep 13 '11 03:09 Uncommon

I'm not sure how to get you the details ..

When I load up gitx from the cli within a project folder .. it takes a second or two to load .. while its doing that .. I see network activity to the remote server via littlesnitch.

If it does manage to load relatively fast, you can still see it connecting out to the remote on littlesnitch for a couple of seconds afterwards.

piotrb avatar Sep 13 '11 13:09 piotrb

I'm guessing the solution is to add a -n to the git remote show call in -[PBGitRepository infoForRemote:].

Uncommon avatar Sep 13 '11 15:09 Uncommon

ooh .. that's an all too familiar delay .. between git remote show origin and the -n version .. could be it ..

piotrb avatar Sep 13 '11 22:09 piotrb