diff options
Diffstat (limited to 'git-fat')
-rwxr-xr-x | git-fat | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -239,7 +239,7 @@ class GitFat(object): files = self.referenced_objects(all=pushall) & self.catalog_objects() remote = self.get_rsync() self.verbose('Pushing to %s' % (remote)) - cmd = ['rsync', '--progress', '--ignore-existing', '--from0', '--files-from=-', self.objdir + '/', remote] + cmd = ['rsync', '--progress', '--ignore-existing', '--from0', '--files-from=-', self.objdir + '/', remote + '/'] p = subprocess.Popen(cmd, stdin=subprocess.PIPE) p.communicate(input='\x00'.join(files)) def checkout(self, show_orphans=False): @@ -273,7 +273,7 @@ class GitFat(object): refargs['rev'] = rev files = self.referenced_objects(**refargs) - self.catalog_objects() remote = self.get_rsync() - cmd = ['rsync', '--progress', '--ignore-existing', '--from0', '--files-from=-', remote + '/', self.objdir] + cmd = ['rsync', '--progress', '--ignore-existing', '--from0', '--files-from=-', remote + '/', self.objdir + '/'] p = subprocess.Popen(cmd, stdin=subprocess.PIPE) p.communicate(input='\x00'.join(files)) self.checkout() |