mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00

* tooltip for swap button * move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree` * remove unused `Models.IObjectId` * fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
18 lines
307 B
C#
18 lines
307 B
C#
namespace SourceGit.Models
|
|
{
|
|
public enum ObjectType
|
|
{
|
|
None,
|
|
Blob,
|
|
Tree,
|
|
Tag,
|
|
Commit,
|
|
}
|
|
|
|
public class Object
|
|
{
|
|
public string SHA { get; set; }
|
|
public ObjectType Type { get; set; }
|
|
public string Path { get; set; }
|
|
}
|
|
}
|