Problem Note 68963: The GIT_INIT_REPO function fails with the message "ERROR 71-185: The GIT_INIT_REPO function call does not have enough arguments"
The GIT_INIT_REPO function fails with the following error:
ERROR 71-185: The GIT_INIT_REPO function call does not have enough arguments.
This problem occurs because an additional argument is required to pass in the desired branch name, but an update for SAS® Studio is needed to include the code that generates the new SAS code syntax.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
After the hot fix is applied, the following syntax enables the function to work properly:
data _null_;
rc= git_init_repo(
"local-directory",
"branch-name");
put rc=;
run;
Operating System and Release Information
SAS System | SAS Studio for Viya | Microsoft® Windows® for x64 | 5.2 | | Viya | |
Linux for x64 | 5.2 | | Viya | |
*
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: | 2022-03-04 09:11:37 |
Date Created: | 2022-02-28 15:08:56 |