mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-23 06:13:07 -06:00
ide: Fixed 'show file on github' to work with internal mingit
This commit is contained in:
parent
4e09d47262
commit
34927ac751
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue