GNU bug report logs -
#79050
vc-git incorrectly treats git-crypt encrypted files as binary, even when unlocked
Previous Next
Full log
View this message in rfc822 format
Hello,
On Thu 24 Jul 2025 at 07:28pm +03, Juri Linkov wrote:
>> 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.
Thanks. One option, btw, is to add it to the default value for
vc-git-diff-switches. But for now I think we should probably leave it
out.
--
Sean Whitton
This bug report was last modified 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.