Skip to content

Commit

Permalink
Don't hide arguement
Browse files Browse the repository at this point in the history
  • Loading branch information
annejan committed Sep 28, 2019
1 parent 00373f1 commit 8f2b87b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/imitatepass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ void ImitatePass::Init(QString path, const QList<UserInfo> &users) {
!QtPassSettings::getGitExecutable().isEmpty()) {
if (addFile)
executeGit(GIT_ADD, {"add", pgit(gpgIdFile)});
QString path = gpgIdFile;
path.replace(QRegExp("\\.gpg$"), "");
GitCommit(gpgIdFile, "Added " + path + " using QtPass.");
QString commitPath = gpgIdFile;
commitPath.replace(QRegExp("\\.gpg$"), "");
GitCommit(gpgIdFile, "Added " + commitPath + " using QtPass.");
}
reencryptPath(path);
}
Expand Down

0 comments on commit 8f2b87b

Please sign in to comment.