mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-27 21:27:19 -08:00
27 lines
627 B
C#
27 lines
627 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace SourceGit.Models
|
|||
|
{
|
|||
|
public enum InteractiveRebaseAction
|
|||
|
{
|
|||
|
Pick,
|
|||
|
Edit,
|
|||
|
Reword,
|
|||
|
Squash,
|
|||
|
Fixup,
|
|||
|
Drop,
|
|||
|
}
|
|||
|
|
|||
|
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>();
|
|||
|
}
|
|||
|
}
|