Skip to content

Qtpass failed to commit to git after drag&drop #440

@christian-weiss

Description

@christian-weiss

When moving a sub dir to root dir on a git enabled password store (which has untracked dirs / files) the move procedure will work BUT committing and pushing it to git will fail with the error message in UI:

fatal: empty string is not a valid pathspec . please use . instead if you meant to match all paths

This message is not very helpful for normal users. Please improve it and error handling.
Showing untracked dirs/files and asking if the user wants to commit them too is a good option.

To fix that i need to go to password store dir via git bash and type:

git status to see which dir/file is not yet tracked
git add <dir/file>
git commit -m "commit now tracked files, commit files of failed drag&drop"
git push

Windows 10 64-bit
QTpass 1.2.3
gpg2.exe: 2.0.26 (Gpg4win 2.2.2)
git.exe: git version 2.18.0.windows.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions