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
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:
- Create a Git profile.
- Clone a Git Repository from the GitHub to a local repository folder.
- Open the Git Repository in SAS Enterprise Guide.
- Add to the local repository folder on the operating system a new file or folder with name that includes special Spanish characters.
- 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"
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
SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8 Enterprise 32-bit | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8 Enterprise x64 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8 Pro 32-bit | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8 Pro x64 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8.1 Enterprise 32-bit | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8.1 Enterprise x64 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8.1 Pro 32-bit | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 8.1 Pro x64 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 10 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows 11 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2008 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2008 R2 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2008 for x64 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2012 Datacenter | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2012 R2 Datacenter | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2012 R2 Std | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2012 Std | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2016 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2019 | 8.4 | | 9.4 TS1M8 | |
Microsoft Windows Server 2022 | 8.4 | | 9.4 TS1M8 | |
Windows 7 Enterprise 32 bit | 8.4 | | 9.4 TS1M8 | |
Windows 7 Enterprise x64 | 8.4 | | 9.4 TS1M8 | |
Windows 7 Home Premium 32 bit | 8.4 | | 9.4 TS1M8 | |
Windows 7 Home Premium x64 | 8.4 | | 9.4 TS1M8 | |
Windows 7 Professional 32 bit | 8.4 | | 9.4 TS1M8 | |
Windows 7 Professional x64 | 8.4 | | 9.4 TS1M8 | |
Windows 7 Ultimate 32 bit | 8.4 | | 9.4 TS1M8 | |
Windows 7 Ultimate x64 | 8.4 | | 9.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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2024-09-03 16:11:54 |
Date Created: | 2024-07-17 12:26:30 |