Skip to content
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

Fix browsing/monitoring non-git directories #71

Merged
merged 1 commit into from
Jan 5, 2015

Conversation

shana
Copy link
Contributor

@shana shana commented Dec 11, 2014

Update view model when selecting an empty/non-git directory so that UI
refreshes correctly.

Make sure the observable for the git directory creation event gets
disposed after getting one event, so that FileSystemWatchers listening
for creation events don't accumulate if the directory is created more
than once.

Update view model when selecting an empty/non-git directory so that UI
refreshes correctly.

Make sure the observable for the git directory creation event gets
disposed after getting one event, so that FileSystemWatchers listening
for creation events don't accumulate if the directory is created more
than once.

RepositoryPath = repositoryWorkingPath;
string gitPath = ModelExtensions.GetGitRepositoryPath(repositoryWorkingPath);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repositoryWorkingPath.GetGitRepositoryPath().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetGitRepositoryPath is not actually an extension method for strings (class name notwithstanding)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I get for reviewing without checking the code. 😭 Sorry!

haacked added a commit that referenced this pull request Jan 5, 2015
Fix browsing/monitoring non-git directories
@haacked haacked merged commit 355c35b into haacked:master Jan 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants