forked from lix-project/lix
Improve comment
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
15313bfdb7
commit
862e56c23d
|
@ -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 });
|
||||||
|
|
Loading…
Reference in a new issue