forked from gitextensions/gitextensions
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename "Atlassian Stash" to Bitbucket
No functionality change gitextensions#3334 updated the diplayname. Stash was still used within the code and in filenames. This was confusing both to work with "Git stashes" and Bitbucket. Handled in gitextensions#4204
- Loading branch information
Showing
20 changed files
with
118 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System.Windows.Forms; | ||
using GitUIPluginInterfaces; | ||
using ResourceManager; | ||
|
||
namespace Bitbucket | ||
{ | ||
public class BitbucketPlugin : GitPluginBase | ||
{ | ||
public readonly StringSetting BitbucketUsername = new StringSetting("Bitbucket Username", string.Empty); | ||
public readonly PasswordSetting BitbucketPassword = new PasswordSetting("Bitbucket Password", string.Empty); | ||
public readonly StringSetting BitbucketBaseUrl = new StringSetting("Specify the base URL to Bitbucket", "https://example.bitbucket.com"); | ||
public readonly BoolSetting BitbucketDisableSsl = new BoolSetting("Disable SSL verification", false); | ||
|
||
public BitbucketPlugin() | ||
{ | ||
SetNameAndDescription("Create Bitbucket Pull Request"); | ||
Translate(); | ||
} | ||
|
||
public override bool Execute(GitUIBaseEventArgs gitUiCommands) | ||
{ | ||
using (var frm = new BitbucketPullRequestForm(this, base.Settings, gitUiCommands)) | ||
frm.ShowDialog(gitUiCommands.OwnerForm); | ||
return true; | ||
} | ||
|
||
public override System.Collections.Generic.IEnumerable<ISetting> GetSettings() | ||
{ | ||
yield return BitbucketUsername; | ||
yield return BitbucketPassword; | ||
yield return BitbucketBaseUrl; | ||
yield return BitbucketDisableSsl; | ||
} | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
...ns/Stash/StashPullRequestForm.Designer.cs → ...tash/BitbucketPullRequestForm.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.