mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
git-utils: fix x86_64-w64-mingw32 build
This commit is contained in:
parent
dbcd4cd6ba
commit
30655dd146
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ static git_packbuilder_progress PACKBUILDER_PROGRESS_CHECK_INTERRUPT = &packBuil
|
||||||
static void initRepoAtomically(std::filesystem::path &path, bool bare) {
|
static void initRepoAtomically(std::filesystem::path &path, bool bare) {
|
||||||
if (pathExists(path.string())) return;
|
if (pathExists(path.string())) return;
|
||||||
|
|
||||||
Path tmpDir = createTempDir(std::filesystem::path(path).parent_path());
|
Path tmpDir = createTempDir(os_string_to_string(PathViewNG { std::filesystem::path(path).parent_path() }));
|
||||||
AutoDelete delTmpDir(tmpDir, true);
|
AutoDelete delTmpDir(tmpDir, true);
|
||||||
Repository tmpRepo;
|
Repository tmpRepo;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue