summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_does_nothing_useful/comment_6_bc8b42432ba25de8f972c192bc3cdff6._comment
blob: ad98e6874ea75fe5a2d565f8112ee554701fc82d (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl0"
 nickname="Ben"
 subject="comment 6"
 date="2012-07-10T03:26:35Z"
 content="""
I can easily reproduce the issue as follows,                                                                                                              
                                                                                                                                                          
    $ git clone goldnerlab:data                                                                                                                           
    Cloning into 'data'...                                                                                                                                
    remote: Counting objects: 61902, done.                                                                                                                
    remote: Compressing objects: 100% (61354/61354), done.                                                                                                
    remote: Total 61902 (delta 356), reused 61902 (delta 356)                                                                                             
    Receiving objects: 100% (61902/61902), 5.50 MiB | 894 KiB/s, done.                                                                                    
    Resolving deltas: 100% (356/356), done.                                                                                                               
    $ cd data                                                                                                                                             
    $ git annex sync                                                                                                                                      
    (merging origin/git-annex into git-annex...)                                                                                                          
    commit                                                                                                                                                
    (Recording state in git...)                                                                                                                           
    # On branch master                                                                                                                                    
    nothing to commit (working directory clean)                                                                                                           
    ok                                                                                                                                                    
    pull origin                                                                                                                                           
    ok                                                                                                                                                    
    push origin                                                                                                                                           
    Counting objects: 8, done.                                                                                                                            
    Delta compression using up to 2 threads.                                                                                                              
    Compressing objects: 100% (5/5), done.                                                                                                                
    Writing objects: 100% (6/6), 726 bytes, done.                                                                                                         
    Total 6 (delta 1), reused 1 (delta 0)                                                                                                                 
    Auto packing the repository for optimum performance.                                                                                                  
    warning: There are too many unreachable loose objects; run 'git prune' to remove them.                                                                
    To goldnerlab:data                                                                                                                                    
       d5582e0..aaddf3c  git-annex -> git-annex                                                                                                           
    ok                                                                                                                                                    
                                                                                                                                                          
Everything looks good so far. I verify that alex/plot.py doesn't exist. Now let's try getting it,                                                         
                                                                                                                                                          
    $ git annex get alex/plot.py -d                                                                                                                       
    git [\"--git-dir=/home/ben/data/.git\",\"--work-tree=/home/ben/data\",\"ls-files\",\"--cached\",\"-z\",\"--\",\"alex/plot.py\"]                                     
                                                                                                                                                          
Uh oh. ls confirms that get was unsucessful.            
"""]]