Skip to content

Commit 1a68426

Browse files
committed
(split from main repo) Replace ArgumentBuilder when making Git arguments
1 parent 1c96503 commit 1a68426

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

FormGerritPublish.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ private void PublishClick(object sender, EventArgs e)
4242

4343
private static ArgumentString PushCmd(string remote, string toBranch)
4444
{
45-
return new ArgumentBuilder
45+
return new GitArgumentBuilder("push")
4646
{
47-
"push",
4847
{ GitVersion.Current.PushCanAskForProgress, "--progress" },
4948
remote.ToPosixPath().Trim().Quote(),
5049
$"HEAD:{GitRefName.GetFullBranchName(toBranch)?.Replace(" ", "")}"

0 commit comments

Comments
 (0)