aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/failure_to_find_file_that___34__should__34___exist_in_remote_is_silent/comment_1_c686df2824d3f588c0bfb339c99168b7._comment
blob: 64bc18b71164c8ba7acaf92df5fe65d97db4417e (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
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="4.152.246.110"
 subject="comment 1"
 date="2013-07-26T21:08:02Z"
 content="""
Tried to reproduce this, following your instructions. It did not seem to work:

<pre>
joey@gnu:~/tmp/mydir2>git annex get disk2
get disk2 
  Unable to access these remotes: origin

  Try making some of these repositories available:
  	21606444-98f9-4c40-aa60-3ebfba936758 -- origin (joey@gnu:~/tmp/mydir)
failed
git-annex: get: 1 failed
- exit 1
joey@gnu:~/tmp/mydir2>git annex whereis disk2
whereis disk2 (1 copy) 
  	21606444-98f9-4c40-aa60-3ebfba936758 -- origin (joey@gnu:~/tmp/mydir)
ok
joey@gnu:~/tmp/mydir2>
</pre>

So, not a silent failure. It is a little unclear about why it can't get the file (in this case because I moved .git/annex/objects out of the way), but it's pretty clear it can't.

AFAIK, the only way `git annex get` can silently not do anything is if you already have the file locally. Perhaps you got confused? OTOH, if you can provide a better way to reproduce this, I'm curious to see it.
"""]]