1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 06:48:49 +00:00

ignore dotdropbak for update/compare (#102)

This commit is contained in:
deadc0de6
2019-03-13 08:24:10 +01:00
parent 2f35636c04
commit 8dacabae0e
4 changed files with 15 additions and 7 deletions

View File

@@ -49,7 +49,8 @@ def cmd_install(o):
base=o.dotpath, workdir=o.workdir,
diff=o.install_diff, debug=o.debug,
totemp=tmpdir,
showdiff=o.install_showdiff)
showdiff=o.install_showdiff,
backup_suffix=o.install_backup_suffix)
installed = []
for dotfile in dotfiles:
preactions = []
@@ -116,7 +117,8 @@ def cmd_compare(o, tmp):
debug=o.debug)
inst = Installer(create=o.create, backup=o.backup,
dry=o.dry, base=o.dotpath,
workdir=o.workdir, debug=o.debug)
workdir=o.workdir, debug=o.debug,
backup_suffix=o.install_backup_suffix)
comp = Comparator(diffopts=o.compare_dopts, debug=o.debug)
for dotfile in selected: