Skip to content

Commit 9767edd

Browse files
committed
Fix issue that repo updates based on a tag didn't work yet
1 parent 7ed15a0 commit 9767edd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/rascal/Main.rsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ int updateRepos(Projects projs, loc repoFolder, bool full) {
146146
if (exists(targetFolder)) {
147147
println("**** Updating <n>");
148148
checkOutput("fetch", execWithCode("git", args=["fetch"], workingDir=targetFolder));
149-
checkOutput("reset", execWithCode("git", args=["reset", "--hard", "origin/<proj.branch>"], workingDir=targetFolder));
149+
checkOutput("reset", execWithCode("git", args=["reset", "--hard", "<proj.branch>"], workingDir=targetFolder));
150150
}
151151
else {
152152
println("**** Cloning <n>");

0 commit comments

Comments
 (0)