threads / discuss / 31604

Changes to ignore patterns in version 1.7.12.1?

Subject: Changes to ignore patterns in version 1.7.12.1?

## tl;dr

3 messages between Sep 19, 2012 and Sep 19, 2012.

replies: 2people: 2as markdown or json

Björn Steffen· Sep 19, 2012, 11:44 UTC · lore
Hi,
I have the following ignore pattern in my .gitignore
  */auto/

to ignore the auto directories generated by emacs in the root and also in subdirectories.

I just installed version 1.7.12.1 and know the top auto/ directory is not ignored anymore, but lower ones are.

Did the ignore patterns change in this version?

Thanks and best regards, Björn

Nguyen Thai Ngoc Duy· Sep 19, 2012, 12:08 UTC · re: Björn Steffen · lore

Re: Changes to ignore patterns in version 1.7.12.1?

On Wed, Sep 19, 2012 at 6:44 PM, Björn Steffen <bjoern.steffen@inf.ethz.ch> wrote:

Show 12 quoted lines
> Hi,
>
> I have the following ignore pattern in my .gitignore
>
>   */auto/
>
> to ignore the auto directories generated by emacs in the root and also in
> subdirectories.
>
> I just installed version 1.7.12.1 and know the top auto/ directory is
> not ignored anymore,
> but lower ones are.

What version works for you? I don't think that pattern should match the top "auto" though. I tried with a few git versions back to 1.7.0 but I don't see any differences. Maybe you could demonstrate that with a few commands?

-- 
Duy
Björn Steffen· Sep 19, 2012, 12:52 UTC · re: Nguyen Thai Ngoc Duy · lore

Re: Changes to ignore patterns in version 1.7.12.1?

Hi Duy,
> What version works for you? I don't think that pattern should match
> the top "auto" though. I tried with a few git versions back to 1.7.0
> but I don't see any differences. Maybe you could demonstrate that with
> a few commands?

I went back to version 1.7.12 and the top "auto" directory was still visible. So it must have been something different or I was doing something wrong. So nevermind. Sorry.

I guess I'll have to use both patterns to ignore all auto directories:
  auto/
  */auto/

Thanks anyway, Björn

← back to recent threads