Re: soft link loops

On 8 August 2013 18:42, Kai Willadsen <kai willadsen gmail com> wrote:
On 6 August 2013 18:14, Björn Spruck
<Bjoern Spruck exp2 physik uni-giessen de> wrote:

(meld 1.6.1, ubuntu 13.4)

If meld is started in/on a git repository ("meld ."), which contains a soft
link loop (like "ln -s . loop"), it will scan nearly endlessly.

Even if started on a normal directory containing a softlink, it will only
work on a first look.
If you click on "unversioned files" you will see that meld will loop into
the softlink trap, too.

mkdir test ; cd test ; ln -s . loop ; meld .

I think that will affect all version control backends. We don't have
any symlink checking when doing tree scanning at all, if I recall
correctly. Could you please file a bug?

I've just pushed a change that fixes this problem in my testing.
Please let me know if it doesn't fix your test cases.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]