GNU bug report logs - #79050
vc-git incorrectly treats git-crypt encrypted files as binary, even when unlocked

Previous Next

Package: emacs;

Reported by: James Cherti <contact <at> jamescherti.com>

Date: Sat, 19 Jul 2025 18:01:02 UTC

Severity: normal

Tags: notabug

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Full log


Message #47 received at 79050 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 79050 <at> debbugs.gnu.org, James Cherti <contact <at> jamescherti.com>
Subject: Re: bug#79050: vc-git incorrectly treats git-crypt encrypted files
 as binary, even when unlocked
Date: Thu, 24 Jul 2025 19:28:54 +0300
> Would you happen to know about any other uses for textconv filters
> besides git-crypt(1)?

I'm using textconv filters for Rails credentials.  The command
`rails credentials:diff --enroll` adds more lines to these files:

.gitattributes:
config/credentials/*.yml.enc diff=rails_credentials

.git/config:
[diff "rails_credentials"]
  textconv = rails credentials:show

The problem is that the textconv filter command
`rails credentials:show` is very very slow
that makes diff viewing experience too frustrating.

So I add the --textconv switch very rarely,
only when there is a real need to check the contents
of the encrypted files.

But I'm not opposed to adding this switch by default,
provided there is a way to remove it.




This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.