We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6468ab5 commit 793ecd8Copy full SHA for 793ecd8
git.ado
@@ -57,7 +57,7 @@ syntax anything(name=gitArgs id="git command and arguments")
57
if("`gitCommand'" == "install"){
58
59
/* Get the name of the repo - Stata has no equivalent to JS (or others) of string split */
60
- local repoName = "`gitParam1'"
+ local repoName = subinstr("`gitParam1'",".git","",.)
61
local separatorPos = strpos("`repoName'","/")
62
while `separatorPos' > 0 {
63
local repoName = trim(substr("`repoName'", `separatorPos'+1, length("`repoName'")-`separatorPos'))
0 commit comments