aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/ordering.mdwn
blob: 536bfce36abf2a7f80ceddc4ec46d401679eed92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
One would expect "git annex get foo bar" to first retrieve foo, and then
bar. Actually though, it will operate on them in alphabetical order
(probably). This is annoying when you wanted to 1st list the most important
files to get. Maybe you'll run out of time before all can be gotten. The
workaround of course is to run "git annex get" twice.

This ordering comes from "git ls-files". git-annex passes it all the files
the user specified. This is a useful optimisation -- earlier it would
run "git ls-files" once per parameter, and so "git annex get *" could be
rather slow. But, it produces this ordering problem.

[[done]]