From 55a70492a2f05c9eb8f7317ef3aa76f3f3339e29 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 10 Oct 2023 20:39:00 +0200 Subject: [PATCH] Show diff as systemfile replacing dotfile --- sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.py b/sync.py index 1990478..58b93dc 100755 --- a/sync.py +++ b/sync.py @@ -348,7 +348,7 @@ def show_diffs(diffs: Iterable[FileDiff], ask_show_diff: bool, apply_fix_prompt: continue case DiffStatus.CONTENT_DIFFERS: if ask_show_diff is False or yes_no(f"Show diff for {diff.sys_file}?"): - subprocess.run(["git", "diff", str(diff.sys_file), str(diff.dot_file)]) + subprocess.run(["git", "diff", str(diff.dot_file), str(diff.sys_file)]) case _: _str_status = diff.status.name.replace("_", " ") print(f"Skipping {diff.sys_file} diff for status: {_str_status}")