mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
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 New Issue
Block a user