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

Commit 449ddc8

Browse files
Merge pull request #489 from github-for-unity/fixes/repository-manager-explicit-update
Removing forced update of config data on a mac
2 parents d3270e9 + 781fb7f commit 449ddc8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,25 +209,13 @@ public ITask RemoteAdd(string remote, string url)
209209
{
210210
var task = GitClient.RemoteAdd(remote, url);
211211
task = HookupHandlers(task, true, false);
212-
if (!platform.Environment.IsWindows)
213-
{
214-
task.Then(_ => {
215-
UpdateConfigData(true);
216-
});
217-
}
218212
return task;
219213
}
220214

221215
public ITask RemoteRemove(string remote)
222216
{
223217
var task = GitClient.RemoteRemove(remote);
224218
task = HookupHandlers(task, true, false);
225-
if (!platform.Environment.IsWindows)
226-
{
227-
task.Then(_ => {
228-
UpdateConfigData(true);
229-
});
230-
}
231219
return task;
232220
}
233221

0 commit comments

Comments
 (0)