New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-remove repositories from the "Select Repository" dialog #145

davvid opened this Issue Nov 3, 2012 · 0 comments


None yet
1 participant

davvid commented Nov 3, 2012

From Jacob Winski via --!forum/git-cola

The "Select Repository..." window should not show repositories that no longer exist.

Currently, it shows everything and even allows one to select a repo that no longer exists, which just closes and reopens the "Select Repository" window.

On every start of "Select Repository.." window, an autoremove function should go through every item to make sure it still exists, and remove it from the list if it does not.

I suggest checking

/.git because it's possible to still have but without any git information, so os.path.exists(repo_dir_path + "/.git") should do the trick.

@davvid davvid closed this in ddfc205 Jan 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment