This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/src/main/java/com/zeapo/pwdstore/git Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
1414- If multiple username fields exist in the password, we now ensure the later ones are not dropped from extra content.
1515- Icons in Autofill suggestions are no longer black on almost black in dark mode.
1616- Decrypt screen would stay in memory infinitely, allowing passwords to be seen without re-auth
17+ - Git commits in the store would wrongly use the 'default' committer as opposed to the user's configured one
1718
1819### Changed
1920
Original file line number Diff line number Diff line change @@ -53,9 +53,8 @@ class GitCommandExecutor(
5353 withContext(Dispatchers .IO ) {
5454 val name = GitSettings .authorName.ifEmpty { " root" }
5555 val email = GitSettings .authorEmail.ifEmpty { " localhost" }
56- command
57- .setAuthor(PersonIdent (name, email))
58- .call()
56+ val identity = PersonIdent (name, email)
57+ command.setAuthor(identity).setCommitter(identity).call()
5958 }
6059 }
6160 }
@@ -64,7 +63,7 @@ class GitCommandExecutor(
6463 command.call()
6564 }
6665 val rr = result.rebaseResult
67- if (rr.status == = RebaseResult .Status .STOPPED ) {
66+ if (rr.status == RebaseResult .Status .STOPPED ) {
6867 throw PullException .PullRebaseFailed
6968 }
7069 }
You can’t perform that action at this time.
0 commit comments