Improve comment

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
Eelco Dolstra 2023-02-09 16:42:45 +01:00 committed by GitHub
parent 15313bfdb7
commit 862e56c23d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -634,7 +634,7 @@ struct GitInputScheme : InputScheme
writeFile(tmpGitDir + "/config", readFile(repoDir + "/" + gitDir + "/config")); writeFile(tmpGitDir + "/config", readFile(repoDir + "/" + gitDir + "/config"));
/* Restore the config.bare setting we may have just /* Restore the config.bare setting we may have just
nuked. */ copied erroneously from the user's repo. */
runProgram("git", true, { "-C", tmpDir, "config", "core.bare", "false" }); runProgram("git", true, { "-C", tmpDir, "config", "core.bare", "false" });
} else } else
runProgram("git", true, { "-C", tmpDir, "config", "remote.origin.url", actualUrl }); runProgram("git", true, { "-C", tmpDir, "config", "remote.origin.url", actualUrl });