Skip to content

Commit

Permalink
Show log for root of repository
Browse files Browse the repository at this point in the history
This enables seeing changes in other places than 'src' of the repository.
  • Loading branch information
gertjanklein committed Sep 20, 2023
1 parent 4165c05 commit 4dba032
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Strix/SCM/Handler/Git.cls
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ Method UserAction(Type As %Integer, Name As %String, InternalName As %String, Se
;== Show log

If Name = "Source control,ShowLog" {
Set Target = ..GetGUICommand("/command:log /path:"""_Project.GetProjectPath()_"""", .ErrorMsg)
Set Path = ..RepositoryDir
If Path = "" Set Path = Project.GetProjectPath()
Set Target = ..GetGUICommand("/command:log /path:"""_Path_"""", .ErrorMsg)
If ErrorMsg '= "" Write ErrorMsg,! Quit $$$OK
Set Action = 3 ; Run executable
Quit $$$OK
Expand Down

0 comments on commit 4dba032

Please sign in to comment.