Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After new release git 2.39.1 ubuntu version git-crypt not working merge command #273

Open
viniciustrainottiobjective opened this issue Jan 31, 2023 · 6 comments

Comments

@viniciustrainottiobjective

Hi,

After to updated git version to 2.39.1 ubuntu focal version the git-crypt not working for merge command.

> GIT_CURL_VERBOSE=1 GIT_TRACE=1 git merge master
14:35:12.818355 git.c:460               trace: built-in: git merge master
14:35:12.998825 run-command.c:655       trace: run_command: '"git-crypt" clean'
14:35:13.003634 git.c:460               trace: built-in: git rev-parse --git-dir
14:35:13.008099 run-command.c:655       trace: run_command: git stash create
14:35:13.010771 git.c:460               trace: built-in: git stash create
14:35:13.017251 run-command.c:655       trace: run_command: '"git-crypt" clean'
14:35:13.022418 git.c:460               trace: built-in: git rev-parse --git-dir
fatal: stash failed

My config .git/config file

[...]
[filter "git-crypt"]
	smudge = \"git-crypt\" smudge
	clean = \"git-crypt\" clean
	required = true
[diff "git-crypt"]
	textconv = \"git-crypt\" diff
[...]

Any idea for bug git-crypt?

@viniciustrainottiobjective
Copy link
Author

I don't see tests in repo for compatibilites for git 2.39.1, anyone know if exists problem in this version for git-crypt?

@sjagoe
Copy link

sjagoe commented Feb 21, 2023

I've had issues on a large repository, but have not yet been able to produce a reliable demonstration of the issue with a non-critical repository.

@ebuildy
Copy link

ebuildy commented Jun 1, 2023

could you try to rebase instead merge ? In my case, this is a bug because an encrypted file have been removed from the target branch

@julien-sarazin
Copy link

Same problem here, on Mac OS Ventura 13.4
git version 2.41.0
git-crypt 0.7.0

@anero
Copy link

anero commented Aug 1, 2023

I was having a similar problem when attempting to merge my trunk branch into a branch where I'd added git-crypt. In case it's useful for somebody else, for me it was fixed when I locked the files before running the merge.

@julien-sarazin
Copy link

FINALLY! Thanks a lot, @anero! You're the man 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants