Skip to content

Commit ab2dfcf

Browse files
authored
Merge pull request #318 from WaberZhuang/main
[bugfix] switch file
2 parents bcb8f21 + 1e9f7cc commit ab2dfcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/switch_file.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class SwitchFile : public ISwitchFile {
9494
LOG_ERROR("failed to open commit file as zfile, path: `", m_filepath);
9595
return;
9696
}
97+
file = zfile;
9798
LOG_INFO("switch to localfile '`' success.", m_filepath);
9899
m_local_file = file;
99100
}

0 commit comments

Comments
 (0)