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

CHE-521: Perform git init command without initial commit #473

Merged
merged 1 commit into from
Feb 29, 2016
Merged

Conversation

vinokurig
Copy link
Contributor

@skabashnyuk @vparfonov please review

@@ -361,16 +364,27 @@ protected void onSuccess(Branch result) {

Copy link
Member

Choose a reason for hiding this comment

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

I think that amount of nesting levels should be reduced there.
6-7 nested blocks isn't good for reading code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@skabashnyuk
Copy link
Contributor

ok. @sleshchenko ?

constant.initCommitWasNotPerformed(),
null).show();
} else {
Log.warn(CommitPresenter.class, "Git log failed", exception);
Copy link
Member

Choose a reason for hiding this comment

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

Think about showing message for user. Something like

notificationManager.notify(locale.logFailed(), FAIL, false);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@sleshchenko
Copy link
Member

other LGTM

@vparfonov
Copy link
Contributor

ok

vinokurig pushed a commit that referenced this pull request Feb 29, 2016
CHE-521: Perform git init command without initial commit
@vinokurig vinokurig merged commit e2d3585 into master Feb 29, 2016
@vinokurig vinokurig deleted the CHE-521 branch February 29, 2016 09:04
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.

5 participants