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
Push from empty FormCommit #9008
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have not run
GitUI/CommandsDialogs/FormCommit.cs
Outdated
@@ -2698,6 +2701,12 @@ private void editFileToolStripMenuItem_Click(object sender, EventArgs e) | |||
|
|||
private void CommitAndPush_Click(object sender, EventArgs e) | |||
{ | |||
if (CommitAndPush.Text == _push.Text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly suspicious to compare texts, but it is the easiest way to achieve this...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I thought, too.
0a7c057
to
b7931b6
Compare
I have reused the translation from FormPush and rebased. |
Fixes #7179
Proposed changes
Commit & push
button of FormCommit into&Push
if there are no changes at all&Push
from FormPush toTranslatedStrings
new
inTranslatedStrings
Screenshots
Before
After
Test methodology
Test environment(s)
✒️ I contribute this code under The Developer Certificate of Origin.