Re: git pull transfers useless files

2012-09-24 Thread Jeff King
On Mon, Sep 24, 2012 at 07:51:20PM +0200, Angelo Borsotti wrote: > #!/bin/bash > > set -v > cd remote > rm -rf * .git/ > git init > echo '*.pdf -crlf -diff merge=binary' >.git/info/attributes > > touch f1 > git add f1 > echo "aaa" >f1.pdf > git add f1.pdf > cp .pdf f2.pdf > git add f2.pdf > git

Re: git pull transfers useless files

2012-09-24 Thread Junio C Hamano
Angelo Borsotti writes: > When it executes the git pull it spends on my computer some 30 seconds, > obviously transferring the pdf file, that then it disregards because of the > merge=binary attribute. > When a commit contains many binary files, the command spends a lot of > time needlessly. Tha