Re: problem with not being able to enforce git content filters

2018-10-16 Thread Stas Bekman
ommit, when they see their commit broke things. That's as good as it can get in this particular situation I understand. Thank you, Brian and Ævar for your support and very helpful suggestions. -- Stas Bekman <'>< <')))

Re: problem with not being able to enforce git content filters

2018-10-16 Thread Stas Bekman
hat. It doesn't help with direct commits to master, since CI would be detecting it after it was committed. And when that happens we all know that already because 'git pull' fails. -- ____ Stas Bekman <'>< <'>< http

Re: problem with not being able to enforce git content filters

2018-10-16 Thread Stas Bekman
r the user to skip that step on git clone. In our particular case we want it where the problem is introduced, which is on commit, and not on clone. I hope it makes sense. -- Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books

problem with not being able to enforce git content filters

2018-10-16 Thread Stas Bekman
u can help with offering a programmatic solution, rather than recommending creating a police department. Thank you for listening. -- ____ Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://

Re: git silently ignores include directive with single quotes

2018-09-24 Thread Stas Bekman
issue. Thanks again. -- ____ Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books

Re: [PATCH 0/1] Re: git silently ignores include directive with single quotes

2018-09-24 Thread Stas Bekman
.gitconfig", it will include its configuration. If git can't find it, it will silently ignore this include statement until this file appears. It has been designed this way to allow for optional user-specific configuration facilities." Thank you. -- __

Re: git diff-tree ignores --textconv

2018-09-23 Thread Stas Bekman
On 2018-09-23 06:23 PM, Jeff King wrote: > On Sun, Sep 23, 2018 at 05:56:03PM -0700, Stas Bekman wrote: > >>> You probably want "--ext-diff", not "--textconv". >> [...] >> Would it be safe to ask the maintainer of the application to include >>

Re: git diff-tree ignores --textconv

2018-09-23 Thread Stas Bekman
On 2018-09-23 05:43 PM, Jeff King wrote: > On Sun, Sep 23, 2018 at 03:41:45PM -0700, Stas Bekman wrote: > >> $ git config --get diff.jupyternotebook.command >> git-nbdiffdriver diff > > That's an "external diff driver", not a textconv driver. > > So he

Re: git silently ignores include directive with single quotes

2018-09-23 Thread Stas Bekman
dropped about 2 weeks ago, hence my ping. Thank you. -- Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books

git diff-tree ignores --textconv

2018-09-23 Thread Stas Bekman
something misconfigured? Thank you. git version 2.17.1 -- Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books

Re: git silently ignores include directive with single quotes

2018-09-10 Thread Stas Bekman
the file. i.e. Can't find: ~/myrepo/.git/.gitconfig which would have instantly told him where the problem was. -- Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experienti

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
; I hope this is a reasonable suggestion that doesn't require any > modification on the users' part who rely on this silent ignoring > "feature", yet lending to a configuration debug feature. -- Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
tion, either by default, or through a special check - some ideas I suggested in my previous email, but surely you have a much better insight of how to deal with that. Thank you. -- ________ Stas Bekman <'>< <'>< https://sta

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
this email. 3) Finally, it'd be useful to have GIT_TRACE=1 state that so and so include path wasn't found and was ignored during various 'git whatever' commands. I am open to any or all of these solutions, or alternative suggestions of course. Thank you. --

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
at the time of running this command to help the user debug the situation. Of course this won't help if .git/config is modified manually. But it's a step towards supporting users. I hope this clarifies the situation. -- ____ Stas Bekman &l

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
On 2018-09-08 12:54 PM, Ævar Arnfjörð Bjarmason wrote: > > On Sat, Sep 08 2018, Martin Ågren wrote: > >> Hi Stas >> >> On Sat, 8 Sep 2018 at 21:00, Stas Bekman wrote: >>> [include] >>> path = '../.gitconfig' >>> >>> Notice t

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
On 2018-09-08 12:30 PM, Martin Ågren wrote: > Hi Stas > > On Sat, 8 Sep 2018 at 21:00, Stas Bekman wrote: >> [include] >> path = '../.gitconfig' > Actually, there is a test explicitly testing that 'missing include files > are ignored'. I couldn't find a motiva

Re: git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
e escaping? Actually, something like '.gitconfig' > *with* *those* *quotes* is a valid filename on my machine. Let's ignore this sub-issue for now. If we can get git to report when something is mis-configured, this issue can then be easily resolved. -- _____

git silently ignores include directive with single quotes

2018-09-08 Thread Stas Bekman
once git gives user #1 I don't have the details about the windows user setup, but I was able to reproduce this bug with git version 2.17.1 on linux. Thank you. -- Stas Bekman <'>< <'>< https://stas

Re: GIT_TRACE doesn't show content filter files it's operating on

2018-08-28 Thread Stas Bekman
On 2018-08-27 06:13 PM, Stas Bekman wrote: [...] > I now know how get the filenames for "clean/smudge" filters. Can you > please help with the same for "textconv". %f doesn't work - it gets > stuck there waiting for stdin, the following seems to pass, but I'm not >

Re: GIT_TRACE doesn't show content filter files it's operating on

2018-08-27 Thread Stas Bekman
t $*"; nbstripout -t; }; cat $1 > f' dev_nb/004_callbacks.ipynb The first trace gives a tmp filename, whereas I need the actual filename. Thank you. -- Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books

Re: GIT_TRACE doesn't show content filter files it's operating on

2018-08-27 Thread Stas Bekman
On 2018-08-27 04:53 PM, Jeff King wrote: > On Mon, Aug 27, 2018 at 04:23:34PM -0700, Stas Bekman wrote: [...] >> How can I get GIT_TRACE's run_command to show the arguments passed to >> the filter? I looked at various other debug environment variables in >> git's manual, but

GIT_TRACE doesn't show content filter files it's operating on

2018-08-27 Thread Stas Bekman
nk you. -- ____ Stas Bekman <'>< <'>< https://stasosphere.com https://chestofbooks.com https://experientialsexlab.com https://stason.org https://stasosphere.com/experience-life/my-books