Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 89bb87e

Browse files
Merge branch 'fixes/empty-publish' into fixes/lfs-locks-update
2 parents ecb2bbb + 39a6996 commit 89bb87e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/GitHub.Api/Git/GitRemote.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public enum GitRemoteFunction
1414
[Serializable]
1515
public struct GitRemote
1616
{
17-
public static GitRemote Default = new GitRemote();
17+
public static GitRemote Default = new GitRemote(String.Empty, String.Empty, String.Empty, GitRemoteFunction.Unknown, string.Empty, string.Empty, string.Empty);
1818

1919
public string name;
2020
public string url;

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ private void UpdateHead()
348348
var head = repositoryPaths.DotGitHead.ReadAllLines().FirstOrDefault();
349349
Logger.Trace("UpdateHead: {0}", head ?? "[NULL]");
350350
UpdateCurrentBranchAndRemote(head);
351+
UpdateGitLog();
351352
}
352353

353354
private void UpdateCurrentBranchAndRemote(string head)

0 commit comments

Comments
 (0)