mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00

- move issue tracker and commit hash links parsing to view models - parsing links async - make sure matched hash is a valid commit oid - disable `CHILDREN` row in submodule info panel Signed-off-by: leo <longshuang@msn.cn>
32 lines
794 B
C#
32 lines
794 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SourceGit.Models
|
|
{
|
|
public enum InteractiveRebaseAction
|
|
{
|
|
Pick,
|
|
Edit,
|
|
Reword,
|
|
Squash,
|
|
Fixup,
|
|
Drop,
|
|
}
|
|
|
|
public class InteractiveCommit
|
|
{
|
|
public Commit Commit { get; set; } = new Commit();
|
|
public string Message { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class InteractiveRebaseJob
|
|
{
|
|
public string SHA { get; set; } = string.Empty;
|
|
public InteractiveRebaseAction Action { get; set; } = InteractiveRebaseAction.Pick;
|
|
public string Message { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class InteractiveRebaseJobCollection
|
|
{
|
|
public List<InteractiveRebaseJob> Jobs { get; set; } = new List<InteractiveRebaseJob>();
|
|
}
|
|
}
|