summaryrefslogtreecommitdiff
path: root/doc/bugs/assistant_ignore_.gitignore.mdwn
blob: 00cdffd669b236ef50a34a167a78528ded273723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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]]