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

Commit 228bf07

Browse files
Merge branch 'master' into fixes/update-after-push
2 parents a82cb50 + 85d93f0 commit 228bf07

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

common/SolutionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
namespace System
3232
{
3333
internal static class AssemblyVersionInformation {
34-
internal const string Version = "0.23.0";
34+
internal const string Version = "0.24.0";
3535
}
3636
}

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -212,25 +212,13 @@ public ITask RemoteAdd(string remote, string url)
212212
{
213213
var task = GitClient.RemoteAdd(remote, url);
214214
task = HookupHandlers(task, true, false);
215-
if (!platform.Environment.IsWindows)
216-
{
217-
task.Then(_ => {
218-
UpdateConfigData(true);
219-
});
220-
}
221215
return task;
222216
}
223217

224218
public ITask RemoteRemove(string remote)
225219
{
226220
var task = GitClient.RemoteRemove(remote);
227221
task = HookupHandlers(task, true, false);
228-
if (!platform.Environment.IsWindows)
229-
{
230-
task.Then(_ => {
231-
UpdateConfigData(true);
232-
});
233-
}
234222
return task;
235223
}
236224

@@ -376,6 +364,7 @@ private void UpdateHead()
376364
var head = repositoryPaths.DotGitHead.ReadAllLines().FirstOrDefault();
377365
Logger.Trace("UpdateHead: {0}", head ?? "[NULL]");
378366
UpdateCurrentBranchAndRemote(head);
367+
UpdateGitLog();
379368
}
380369

381370
private void UpdateCurrentBranchAndRemote(string head)

0 commit comments

Comments
 (0)