jedbrown / git-fat

Simple way to handle fat files without committing them to git, supports synchronization using rsync
BSD 2-Clause "Simplified" License
621 stars 137 forks source link

pull full history and pull selected revision doesn't work #23

Closed nkovacs closed 10 years ago

nkovacs commented 10 years ago

This is the output of git fat pull --all:

pulling:
[]
Pulling from remote_url_here
Executing: rsync --progress --ignore-existing --from0 --files-from=- remote_url_here .git/fat/objects/
receiving file list ... 
0 files to consider

sent 8 bytes  received 10 bytes  36.00 bytes/sec
total size is 0  speedup is 0.00
jedbrown commented 10 years ago

Looks like you don't have any files enrolled:

 ~/src/git-fat$ git clone fat-test f3
Cloning into 'f3'...
done.
~/src/git-fat$ cd f3
~/src/git-fat/f3$ git fat init
Initialized git fat
~/src/git-fat/f3$ git fat pull --all
pulling:
['a.fat', 'b.fat']
receiving file list ... 
2 files to consider
6ecec2e21d3033e7ba53e2db63f69dbd3a011fa8
             14 100%   13.67kB/s    0:00:00 (xfr#1, to-chk=1/2)
c3d2d7d1d2f2d206b3bd04aab8c4f1036def490a
             21 100%   20.51kB/s    0:00:00 (xfr#2, to-chk=0/2)
Restoring c3d2d7d1d2f2d206b3bd04aab8c4f1036def490a -> a.fat
Restoring 6ecec2e21d3033e7ba53e2db63f69dbd3a011fa8 -> b.fat
nkovacs commented 10 years ago

If I check out an older revision and run git fat pull, it pulls the files for that revision. I definitely don't have all the files in my local repo, the remote fat store is 17Gb, and mine is 3Gb

jedbrown commented 10 years ago

Can you test branch 'jed/pull-all'? This regression should be fixed in 0d9b0eb7e2aa2d3a4f1e0081f0a79f10ca8c6c95

nkovacs commented 10 years ago

It seems to be working, it's downloading the files now. Thanks.