mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
code_style: run dotnet format
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
1f0dd15192
commit
2495911bd8
2 changed files with 4 additions and 6 deletions
|
@ -49,7 +49,7 @@ namespace SourceGit.Commands
|
||||||
if (rs.IsSuccess)
|
if (rs.IsSuccess)
|
||||||
{
|
{
|
||||||
_service.Chat(
|
_service.Chat(
|
||||||
_service.AnalyzeDiffPrompt,
|
_service.AnalyzeDiffPrompt,
|
||||||
$"Here is the `git diff` output: {rs.StdOut}",
|
$"Here is the `git diff` output: {rs.StdOut}",
|
||||||
_cancelToken,
|
_cancelToken,
|
||||||
update =>
|
update =>
|
||||||
|
@ -72,8 +72,8 @@ namespace SourceGit.Commands
|
||||||
var responseBody = responseBuilder.ToString();
|
var responseBody = responseBuilder.ToString();
|
||||||
var subjectBuilder = new StringBuilder();
|
var subjectBuilder = new StringBuilder();
|
||||||
_service.Chat(
|
_service.Chat(
|
||||||
_service.GenerateSubjectPrompt,
|
_service.GenerateSubjectPrompt,
|
||||||
$"Here are the summaries changes:\n{summaryBuilder}",
|
$"Here are the summaries changes:\n{summaryBuilder}",
|
||||||
_cancelToken,
|
_cancelToken,
|
||||||
update =>
|
update =>
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,18 +2,16 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
using Avalonia.Controls.Primitives;
|
using Avalonia.Controls.Primitives;
|
||||||
using Avalonia.Interactivity;
|
using Avalonia.Interactivity;
|
||||||
using Avalonia.Media;
|
using Avalonia.Media;
|
||||||
using Avalonia.Threading;
|
using Avalonia.Threading;
|
||||||
|
using AvaloniaEdit;
|
||||||
using AvaloniaEdit.Document;
|
using AvaloniaEdit.Document;
|
||||||
using AvaloniaEdit.Editing;
|
using AvaloniaEdit.Editing;
|
||||||
using AvaloniaEdit.TextMate;
|
using AvaloniaEdit.TextMate;
|
||||||
using AvaloniaEdit;
|
|
||||||
|
|
||||||
namespace SourceGit.Views
|
namespace SourceGit.Views
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue