* bug#68532: git-crypt can fail after guix gc
@ 2024-01-17 15:46 TakeV via Bug reports for GNU Guix
0 siblings, 0 replies; only message in thread
From: TakeV via Bug reports for GNU Guix @ 2024-01-17 15:46 UTC (permalink / raw)
To: 68532
[-- Attachment #1.1: Type: text/plain, Size: 872 bytes --]
I set up a git repo which uses git-crypt a while back, however it seems
to have broken in the time between then and now.
Looking into how git-crypt seems to handle things; running the initial
init causes the full path to the git-crypt binary to be written to the
git config file (.git/config) as a filter.
If one has created a repo using git-crypt, and some time later runs guix
gc, then the old path to the git-crypt binary likely will be deleted,
causing git-crypt to break, as it is unable to locate the binary.
One workaround could be running git-crypt in a shell, and registering it
as a garbage collector root so that the original git-crypt install is
preserved, but that seems like it would not be an optimal long term fix.
Updating the config file by hand also seems to fix the issue, though
that route is similarly a short term fix.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-17 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 15:46 bug#68532: git-crypt can fail after guix gc TakeV via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).