# [BUG] git tab-completion gives error when "config" file exists in current directory

1 messages from 2009-02-04 to 2009-02-04. Participants: Jeremy O'Brien.
Thread: https://gitlist.dev/t/17545

## Jeremy O'Brien, 2009-02-04 03:24

Subject: [BUG] git tab-completion gives error when "config" file exists in current directory
Message-ID: <20090204032431.GA25244@newo.ZoomTown.com>
URL: https://gitlist.dev/e/20090204032431.GA25244%40newo.ZoomTown.com

```
If a file "config" is present in the current directory, and no
.git/config or .gitconfig file exists, typing "git" and attempting tab
completion of any of its commands will yield an odd error like
"fatal: bad config file line 7 in config",
as git tries to use this file as a git config file.

Cheers,
Jeremy O'Brien

```
