What steps will reproduce the problem?

1. have an existing directory with a bunch of files
2. create a `.gitignore` file that matches some files (*.log *.aux *~ etc.)
3. `git init .`
4. `git annex init work`
5. `git remote add server server:Blabla`
6. `ssh server`
7. `@server $ mkdir Blabla`
8. `@server $ cd Blabla`
9. `@server $ git init .`
10. `@server $ git annex init server`
11. `@server $ exit`
12. `git annex webapp`

What is the expected output? What do you see instead?

I expect that ingored files stay ignored,
I see instead that all the files (including the ignored) are transfered to the server

What version of git-annex are you using? On what operating system?

3.20130124, debian sid (on both machines)

> As noted in [[design/assistant/inotify]]'s TODO list, this
> needs an efficient gitignore query interface in git (DNE) 
> or a gitignore parser. --[[Joey]] 

[[!tag /design/assistant]]
