SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67755: Git conflicts are difficult to fully resolve in the SAS® Studio interface

DetailsHotfixAboutRate It

When a conflict exists between commits when you are using either the GIT_COMMIT function or the commit interface in SAS Studio, you receive a message that you need to resolve the conflict before the commit can occur. However, resolving the conflict might be difficult to perform in SAS Studio.  

When a conflict occurs, the following two commits contribute to that conflict:

  • the local commit
  • the commit that you pulled down from the remote repository, or a commit that resides in another branch that you are merging into the current branch

After you resolve the conflict, you can create a new commit that completes the merge process. The GIT_COMMIT function knows about the local or current branch head commit, but it needs the commit ID of the remote commit, or the head commit of the branch that is being merged into the current branch.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.

The hot fix provides an optional argument, second-parent-commit-ID, for the GIT_COMMIT function. This argument provides the new commit ID that is needed to complete the merge process when resolving conflicts. The syntax is updated as follows: 

GIT_COMMIT( "directory", "update-reference", "author-name", "author-email", "commit-message", <"second-parent-commit-ID">)

In the SAS Studio interface, after the hot fix is applied, this process is handled automatically, using the same methodology that is used by Git software on a UNIX system.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS StudioMicrosoft® Windows® for x643.8
Microsoft Windows 8 Enterprise x643.8
Microsoft Windows 8 Enterprise 32-bit3.8
Microsoft Windows 8 Pro 32-bit3.8
Microsoft Windows 8 Pro x643.8
Microsoft Windows 8.1 Enterprise 32-bit3.8
Microsoft Windows 8.1 Enterprise x643.8
Microsoft Windows 8.1 Pro 32-bit3.8
Microsoft Windows 8.1 Pro x643.8
Microsoft Windows 103.8
Microsoft Windows 95/983.8
Microsoft Windows 2000 Advanced Server3.8
Microsoft Windows 2000 Datacenter Server3.8
Microsoft Windows 2000 Server3.8
Microsoft Windows 2000 Professional3.8
Microsoft Windows NT Workstation3.8
Microsoft Windows Server 2003 Datacenter Edition3.8
Microsoft Windows Server 2003 Enterprise Edition3.8
Microsoft Windows Server 2003 Standard Edition3.8
Microsoft Windows Server 2003 for x643.8
Microsoft Windows Server 20083.8
Microsoft Windows Server 2008 R23.8
Microsoft Windows Server 2008 for x643.8
Microsoft Windows Server 2012 Datacenter3.8
Microsoft Windows Server 2012 R2 Datacenter3.8
Microsoft Windows Server 2012 R2 Std3.8
Microsoft Windows Server 2012 Std3.8
Microsoft Windows Server 20163.8
Microsoft Windows Server 20193.8
Microsoft Windows XP Professional3.8
Windows 7 Enterprise 32 bit3.8
Windows 7 Enterprise x643.8
Windows 7 Home Premium 32 bit3.8
Windows 7 Home Premium x643.8
Windows 7 Professional 32 bit3.8
Windows 7 Professional x643.8
Windows 7 Ultimate 32 bit3.8
Windows 7 Ultimate x643.8
Windows Millennium Edition (Me)3.8
Windows Vista3.8
Windows Vista for x643.8
64-bit Enabled AIX3.8
64-bit Enabled Solaris3.8
HP-UX IPF3.8
Linux for x643.8
Solaris for x643.8
SAS SystemSAS Studio for ViyaLinux for x645.22020.0.7ViyaViya
Microsoft® Windows® for x645.2Viya
* 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.