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

Commit 767b979

Browse files
Forcing an update of branch lists after commit
1 parent 106aaa5 commit 767b979

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ public ITask CommitAllFiles(string message, string body)
177177
add.OnStart += t => IsBusy = true;
178178
return add
179179
.Then(GitClient.Commit(message, body))
180+
.Then(UpdateConfigData)
180181
.Finally(() => IsBusy = false);
181182
}
182183

@@ -186,6 +187,7 @@ public ITask CommitFiles(List<string> files, string message, string body)
186187
add.OnStart += t => IsBusy = true;
187188
return add
188189
.Then(GitClient.Commit(message, body))
190+
.Then(UpdateConfigData)
189191
.Finally(() => IsBusy = false);
190192
}
191193

0 commit comments

Comments
 (0)