From 34927ac751fde846249e5fda1b60cfc048fd50bc Mon Sep 17 00:00:00 2001 From: Mirek Fidler Date: Thu, 19 Dec 2024 11:39:45 +0100 Subject: [PATCH] ide: Fixed 'show file on github' to work with internal mingit --- uppsrc/ide/idebar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/ide/idebar.cpp b/uppsrc/ide/idebar.cpp index 5d54c574e..4a9f5adcd 100644 --- a/uppsrc/ide/idebar.cpp +++ b/uppsrc/ide/idebar.cpp @@ -602,7 +602,7 @@ void Ide::FilePropertiesMenu(Bar& menu) if(editfile_repo) { String txt = String("Show ") + (editfile_repo == SVN_DIR ? "svn" : "git") + " history of "; if(editfile_repo == GIT_DIR) { - String origin = Sys("git -C " + GetFileFolder(editfile) + " remote get-url origin"); + String origin = HostSys("git -C " + GetFileFolder(editfile) + " remote get-url origin"); if(origin.StartsWith("https://github.com/")) { origin.TrimEnd("\n"); origin.TrimEnd("\r");