|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Creates a dataset with the commit history of a local repository. More...
Go to the source code of this file.
Returns the commit history from a local repository. The name of the branch is also returned.
More details here: https://documentation.sas.com/doc/ko/pgmsascdc/v_033/lefunctionsref/n1qo5miyvry1nen111js203hlwrh.htm
Usage:
%let gitdir=%sysfunc(pathname(work))/core; %let repo=https://github.com/sasjs/core; %put source clone rc=%sysfunc(GITFN_CLONE(&repo,&dir)); %mp_gitlog(&gitdir,outds=work.mp_gitlog)
| [in] | gitdir | The directory containing the GIT repository |
| [in] | filter= | (BRANCHONLY) To return only the commits for the current branch, use BRANCHONLY (the default). Anything else will return the entire commit history. |
| [out] | outds= | (work.mp_gitlog) The output dataset to create. All vars are $128 except message which is $4000.
|
| [in] | mdebug= | (0) Set to 1 to enable DEBUG messages |
| [in] | nobs= | (0) Set to an integer greater than 0 to restrict the number of rows returned |
Definition in file mp_gitlog.sas.