SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 70895: An “Unable to refresh the Git Repository” error might occur in SAS® Enterprise Guide® when an unstaged file or folder name contains special characters

DetailsHotfixAboutRate It

In SAS Enterprise Guide, adding a file or folder with a name that includes special characters (that is, á , ñ, é, and so on) to a local Git Repository, might trigger the following error when a refresh on the repository occurs:

Unable to refresh the Git Repository.

You might encounter this issue when completing steps similar to the following:

  1. Create a Git profile.
  2. Clone a Git Repository from the GitHub to a local repository folder.
  3. Open the Git Repository in SAS Enterprise Guide.
  4. Add to the local repository folder on the operating system a new file or folder with name that includes special Spanish characters.

TestSásÑ.sas

  1. In the SAS Enterprise Guide Git Repository, on the Commit tab, click the Refresh button.

As a result, the following error might occur, and the Commit window might appear empty:

ERROR "Unable to refresh the Git Repository"

ERROR "Unable to refresh the Git Repository"

In addition, in the SAS Enterprise Guide log, an error similar to the following might occur:

2024-06-17 08:43:20,341 [41] DEBUG SAS.EG.Framework.Documents.Git.GitShellCommandRunner [(null)] - Executing command: 'C:\Program Files\Git\cmd\git.exe add "TestS\303\241s\303\221.sas"' from 'C:\Spanish'
2024-06-17 08:43:20,399 [28] DEBUG SAS.EG.Framework.Documents.Git.GitShellCommandRunner [(null)] - fatal: pathspec 'TestS\303\241s\303\221.sas' did not match any files

Workaround

To work around this issue, execute the following command:

git config --global core.quotepath off

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x648.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8 Enterprise x648.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8 Pro 32-bit8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8 Pro x648.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8.1 Enterprise x648.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 8.1 Pro x648.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 108.48.59.4 TS1M89.4 TS1M8
Microsoft Windows 118.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 20088.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 2008 R28.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 2008 for x648.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 2012 Datacenter8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 2012 R2 Std8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 2012 Std8.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 20168.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 20198.48.59.4 TS1M89.4 TS1M8
Microsoft Windows Server 20228.48.59.4 TS1M89.4 TS1M8
Windows 7 Enterprise 32 bit8.48.59.4 TS1M89.4 TS1M8
Windows 7 Enterprise x648.48.59.4 TS1M89.4 TS1M8
Windows 7 Home Premium 32 bit8.48.59.4 TS1M89.4 TS1M8
Windows 7 Home Premium x648.48.59.4 TS1M89.4 TS1M8
Windows 7 Professional 32 bit8.48.59.4 TS1M89.4 TS1M8
Windows 7 Professional x648.48.59.4 TS1M89.4 TS1M8
Windows 7 Ultimate 32 bit8.48.59.4 TS1M89.4 TS1M8
Windows 7 Ultimate x648.48.59.4 TS1M89.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.