Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/GitHub.Api/Git/GitLock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ namespace GitHub.Unity
[Serializable]
public struct GitLock
{
public static GitLock Default = new GitLock(null, null, null, -1);
public static GitLock Default = new GitLock { ID = -1 };

public readonly int ID;
public readonly string Path;
public readonly string FullPath;
public readonly string User;
public int ID;
public string Path;
public string FullPath;
public string User;

public GitLock(string path, string fullPath, string user, int id)
{
Expand Down