Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: Textconv · Matthieu Moy <hidden> · 2016-06-15
  • Re: Textconv · Dmitry Ilin <hidden> · 2016-06-15

Re: Textconv

From: Dmitry Ilin <hidden>
Date: 2016-06-15 22:56:21

I mean that our filter doesn't work with 'git show' and I need to enable 
it for this command.

This is part of my git config file:

[filter "openssl"]
    smudge = openssl enc -d -base64 -aes-256-ecb -k 'abcde' 2> /dev/null 
|| cat
    clean = openssl enc -base64 -aes-256-ecb -S '12345' -k 'abcde'
[diff "openssl"]
    textconv = openssl enc -d -base64 -aes-256-ecb -k 'abcde' -in "$1" 
2> /dev/null || cat "$1"
[merge]
    renormalize = true


And content of '.git/info/attributes':

* filter=openssl diff=openssl


How can I deal with it?


On 03/11/2013 02:00 PM, Matthieu Moy wrote:
Dmitry Ilin [off-list ref] writes:
quoted
Hello!

Most of GUI for Git using 'git show' command to show differences
between versions. For example: WebStorm IDE. But for now there is no
way to specify text conversion command in git config for 'show' as it
done for 'diff'.
Do you mean, to enable it, or to disable it?

By default, "git show" does use the textconv filter to compute the diff,
at least if you specified the textconv driver in your .gitattributes
file.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help