At my department, we have configured SAS server (SASApp), to have File navigation set to a specific path (let's say: "P:/path"). Hence, in EG, after connecting to the server profile, the Files section under the SASApp server shows the folders under P:/path. This path contains a project folder "Project", which contains a SAS script (e.g. "P:/path/Project/script.sas"). The project folder also contains a git repository (e.g. "P:/path/Project/.git"), which tracks the changes to script.sas. Using the command line, I can do all my git work. I expected that when I am editing and running the script through EG, it would be able to detect any changes, show the history and commit the changes using the buttons in the editing window. However, pressing any of these buttons yields the error message "Program History Unavailable: The current program is nto contained within a GIT repository. To use this feature please embed the program or move it to an extern GIT repository." Strangely, these buttons do work when I open an external script that is located on a different networked drive (e.g. "S:/otherpath/otherproject/otherscript.sas") which is not located in the Files section under the SASApp server, but which I can access via File --> Open --> Program. Any ideas what is going wrong here?
... View more