mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2025-01-12 05:58:23 +01:00
Fix metarecover
This commit is contained in:
parent
dd43e12626
commit
da587e6168
4
tools/metarecover.py
Normal file → Executable file
4
tools/metarecover.py
Normal file → Executable file
@ -1,8 +1,8 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
from git import Repo,Git
|
from git import Repo,Git
|
||||||
import io
|
import io
|
||||||
r=Repo(path=".")
|
r=Repo(path=".")
|
||||||
l=[item for item in r.index.diff(None) if item.a_path.endswith(".dat") and item.change_type=="M"]
|
l=[item for item in r.index.diff("HEAD") if item.a_path.endswith(".dat") and item.change_type=="M"]
|
||||||
len(l)
|
|
||||||
for i in l:
|
for i in l:
|
||||||
print(i.a_path)
|
print(i.a_path)
|
||||||
g=Git(Repo.git_dir)
|
g=Git(Repo.git_dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user