enhance: omit commit that is already cherry-picked from the target branch while querying commits for interactive-rebase (#1811)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-09-17 13:35:43 +08:00
parent 6b040ae9fc
commit 0ab4926ffe

View File

@@ -12,7 +12,7 @@ namespace SourceGit.Commands
WorkingDirectory = repo;
Context = repo;
Args = $"log --topo-order --right-only --max-parents=1 --no-show-signature --decorate=full --format=\"%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%B%n{_boundary}\" {on}..HEAD";
Args = $"log --topo-order --cherry-pick --right-only --no-merges --no-show-signature --decorate=full --format=\"%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%B%n{_boundary}\" {on}...HEAD";
}
public async Task<List<Models.InteractiveCommit>> GetResultAsync()