Thanks! So that error was a user-error.. After evaluating that, and M-x toggle-debug-on-error.. trying to git stage that same tar.xz in Magit finally gave this backtrace:
Debugger entered--Lisp error: (user-error "Package `tramp-archive' not supported")
signal(user-error ("Package `tramp-archive' not supported"))
tramp-error(nil user-error "Package `tramp-archive' not supported")
apply(tramp-error nil user-error "Package `tramp-archive' not supported" nil)
tramp-archive-file-name-handler(file-regular-p "/home/kmodi/hugo/
kaushalmodi.gitlab.io/bin/tidy_html5_DEV-Linux-64bit.tar.xz/.git")
file-regular-p("/home/kmodi/hugo/
kaushalmodi.gitlab.io/bin/tidy_html5_DEV-Linux-64bit.tar.xz/.git")
magit-git-repo-p("tidy_html5_DEV-Linux-64bit.tar.xz" t)
magit-stage-untracked(nil)
magit-stage(nil)
funcall-interactively(magit-stage nil)
call-interactively(magit-stage nil nil)
command-execute(magit-stage)
1. Magit is trying to do something with "tidy_html5_DEV-Linux-64bit.tar.xz/.git"? When "tidy_html5_DEV-Linux-64bit.tar.xz" is not actually a dir?
2. And that in turn triggering that tramp error, even when this is a local file, and shouldn't have tramp involved?