fixup style and formatting
Este commit está contenido en:
padre
159527e1e2
commit
1e648dcdc7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
2
lethe.py
2
lethe.py
|
|
@ -127,7 +127,7 @@ def snap_tree(cwd: str=None) -> str:
|
||||||
with tempfile.TemporaryDirectory() as tmp_dir:
|
with tempfile.TemporaryDirectory() as tmp_dir:
|
||||||
env = {'GIT_INDEX_FILE': tmp_dir + '/git-snapshot-index'}
|
env = {'GIT_INDEX_FILE': tmp_dir + '/git-snapshot-index'}
|
||||||
|
|
||||||
# TODO: Mayve need cwd=get_root(cwd) here?
|
# TODO: Maybe need cwd=get_root(cwd) here?
|
||||||
_run('git add --all', env=env, cwd=cwd)
|
_run('git add --all', env=env, cwd=cwd)
|
||||||
tree = _run('git write-tree', env=env, cwd=cwd)
|
tree = _run('git write-tree', env=env, cwd=cwd)
|
||||||
return tree
|
return tree
|
||||||
|
|
|
||||||
Cargando…
Añadir tabla
Añadir enlace
Referenciar en una nueva incidencia