mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
1583b08892
* 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; }
|
|
}
|
|
}
|