'save-at:1722225299.8823383'
This commit is contained in:
parent
cc00240574
commit
01d4a935ba
|
@ -11,10 +11,8 @@ def git_save(target_dir: str):
|
||||||
for o in outlist:
|
for o in outlist:
|
||||||
if o.startswith(r"\tmodified:"):
|
if o.startswith(r"\tmodified:"):
|
||||||
has_changed = True
|
has_changed = True
|
||||||
break
|
|
||||||
elif o.startswith(r"\tnew file:"):
|
elif o.startswith(r"\tnew file:"):
|
||||||
has_changed = True
|
has_changed = True
|
||||||
break
|
|
||||||
|
|
||||||
if has_changed:
|
if has_changed:
|
||||||
xsub.run("git add .", shell=True)
|
xsub.run("git add .", shell=True)
|
||||||
|
|
Loading…
Reference in New Issue