sourcegit/src/Commands
leo 12bb915bd8
code_review: PR #596
- Add `ViewModels.Preference.PrepareOpenAIPrompt()` method to generate default prompt instead of a const fallback value. Therefore, it is more convenient for us to modify the default value in the Preference dialog.
- Modify the default prompts. Rename `SubjectPrompt` to `GenerateSubjectPrompt`. Rename `SummaryPrompt` to `AnalyzeDiffPrompt`.
- Rewrite the way to build OpenAI user content for subject generation

Signed-off-by: leo <longshuang@msn.cn>
2024-10-24 10:22:06 +08:00
..
Add.cs code_style: run dotnet format 2024-10-23 15:28:09 +08:00
Apply.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
Archive.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
AssumeUnchanged.cs enhance: supports checking updates with hotfix version 2024-07-23 14:36:27 +08:00
Blame.cs code_style: run dotnet format 2024-07-31 16:26:58 +08:00
Branch.cs refactor: base command 2024-07-09 18:13:15 +08:00
Checkout.cs enhance: auto-update submodules if possible after checking out a branch (#531) 2024-10-01 22:10:10 +08:00
CherryPick.cs enhance: cherry-pick (#563) 2024-10-14 15:20:02 +08:00
Clean.cs feature: add an option to clean up ignored files when discard all changes in repo (#531) 2024-10-02 21:46:48 +08:00
Clone.cs refactor: base command 2024-07-09 18:13:15 +08:00
Command.cs refactor: using custom PATH instead of reading it from zsh (#581) 2024-10-21 15:31:13 +08:00
Commit.cs code_style: run dotnet format 2024-10-23 15:28:09 +08:00
CompareRevisions.cs code_review: PR (#280) 2024-07-23 19:26:04 +08:00
Config.cs refactor: remove scope parameter while getting git configuration (#544) 2024-10-09 14:20:43 +08:00
CountLocalChangesWithoutUntracked.cs enhance: get count of changed file (without untracked) directly (#316) 2024-08-07 15:52:58 +08:00
Diff.cs enhance: force enable --patch option 2024-10-17 19:20:14 +08:00
Discard.cs feature: add an option to clean up ignored files when discard all changes in repo (#531) 2024-10-02 21:46:48 +08:00
Fetch.cs refactor: do NOT use the --prune parameter for git fetch command (#590) 2024-10-22 16:54:21 +08:00
FormatPatch.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
GC.cs enhance: use --prune=now instead of --prune for git gc command 2024-10-17 15:50:42 +08:00
GenerateCommitMessage.cs code_review: PR #596 2024-10-24 10:22:06 +08:00
GitFlow.cs code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
GitIgnore.cs enhance: Git LFS support 2024-06-17 18:25:57 +08:00
Init.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
IsBinary.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
IsConflictResolved.cs code_style: run dotnet format 2024-07-31 16:26:58 +08:00
IsLFSFiltered.cs enhance: better LFS file detect method 2024-07-01 13:30:57 +08:00
LFS.cs code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
Merge.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
MergeTool.cs refactor: external diff merge tool - supports to use difftool/mergetool settings from git config directly (#181) 2024-06-18 12:10:38 +08:00
Pull.cs refactor: base command 2024-07-09 18:13:15 +08:00
Push.cs feature: add an option to enable --recurse-submodules=check on push (#345) 2024-08-20 15:20:58 +08:00
QueryBranches.cs refactor: use '\0' instead of '$' to split fields 2024-10-15 16:26:44 +08:00
QueryCommitFullMessage.cs code_style: run dotnet format 2024-06-14 09:46:30 +08:00
QueryCommits.cs fix: Display all parents even if there are more then 2 (#583) 2024-10-21 15:38:30 +08:00
QueryCommitsWithFullMessage.cs fix: Display all parents even if there are more then 2 (#583) 2024-10-21 15:38:30 +08:00
QueryCurrentRevisionFiles.cs feature: add auto complete box for searching commits by file path 2024-07-30 15:59:54 +08:00
QueryFileContent.cs fix: crash when create image from a empty stream 2024-04-08 10:24:28 +08:00
QueryFileSize.cs enhance: better LFS file detect method 2024-07-01 13:30:57 +08:00
QueryGitDir.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
QueryLocalChanges.cs enhance: show untracked submodules in unstaged (#393) 2024-08-22 14:10:32 +08:00
QueryRefsContainsCommit.cs code_style: remove unused namespace using and run dotnet format 2024-08-23 22:26:17 +08:00
QueryRemotes.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
QueryRepositoryRootPath.cs enhance: show git errors when failed to get the repository root dir of given path (#397) 2024-08-27 15:35:10 +08:00
QueryRevisionObjects.cs enhance: reduce memory usage by commit detail view 2024-06-07 17:29:55 +08:00
QuerySingleCommit.cs refactor: collect the commits for the most recent year instead of just the current year (#414) 2024-08-28 18:16:57 +08:00
QueryStagedChangesWithAmend.cs code_style: run dotnet format 2024-07-31 16:26:58 +08:00
QueryStagedFileBlobGuid.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
QueryStashChanges.cs enhance: supports checking updates with hotfix version 2024-07-23 14:36:27 +08:00
QueryStashes.cs enhance: improve commit and stash parsing time 2024-06-05 11:46:31 +08:00
QuerySubmodules.cs refactor: combine Commands.UpdateSubmoduleStatus into Commands.QuerySubmodules 2024-08-09 09:41:24 +08:00
QueryTags.cs feature: hover on tag view shows the message of it (#567) 2024-10-17 14:57:05 +08:00
QueryTrackStatus.cs enhance: allow to compile with dotnet 8.0.106 (#281) 2024-07-24 19:07:31 +08:00
Rebase.cs refactor: commandline parsing 2024-07-09 12:20:52 +08:00
Remote.cs fix: changing the repository URL only changes the fetch URL if push URL using a different URL (#553) 2024-10-11 10:03:42 +08:00
Reset.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
Restore.cs enhance: use restore instead of reset to discard changes (#76) 2024-04-17 20:06:09 +08:00
Revert.cs fix: support revert merge commit 2024-08-01 10:02:09 +08:00
SaveChangesAsPatch.cs refactor: rewrite external editor supports 2024-04-06 13:14:22 +08:00
SaveRevisionFile.cs enhance: better LFS file detect method 2024-07-01 13:30:57 +08:00
Stash.cs code_style: run dotnet format 2024-10-15 09:39:01 +08:00
Statistics.cs enhance: increase the number of commits to analyze in OVERVIEW tab to 40K 2024-09-24 10:00:31 +08:00
Submodule.cs refactor: update submodule (#287) 2024-07-26 18:49:07 +08:00
Tag.cs fix: turn off GPG Signing when create a new tag does not work if tag.gpgsign is enabled 2024-10-09 11:55:24 +08:00
UnstageChangesForAmend.cs refactor: rewrite amend behaviour (#300) 2024-07-31 12:04:52 +08:00
UpdateRef.cs refactor: use git update-ref $LOCAL_BRANCH $REMOTE_BRANCH instead of git fetch $REMOTE $LOCAL_BRANCH $REMOTE_BRANCH to fast-forward local branch without checkout it first. 2024-10-21 16:20:34 +08:00
Version.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
Worktree.cs code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00