From: Gianfranco Costamagna Date: Tue, 04 Jun 2013 22:24:26 GMT Subject: I: git archive --worktree-attributes doesn't exclude .gitattributes anymore Message-ID: <1370384666.57411.YahooMailNeo@web172701.mail.ir2.yahoo.com> In-Reply-To: <1370384339.31882.YahooMailNeo@web172702.mail.ir2.yahoo.com> Forgot to mention, also this command doesn't work git archive --worktree-attributes  -v --format tgz -o ../boinc_7.1.7+dfsg.orig.tar.gz -9 --prefix boinc-7.1.7+dfsg/ client_release/7.1/7.1.7 Gianfranco ----- Messaggio inoltrato ----- > Da: Gianfranco Costamagna > A: "git@vger.kernel.org" > Cc: > Inviato: Mercoledì 5 Giugno 2013 0:18 > Oggetto: git archive --worktree-attributes doesn't exclude .gitattributes anymore > >g it version 1.8.1.2 > (please cc me, I'm not subscribed to this list) > > > Hi Developers, I write here because since my ubuntu update (quantal to raring) > and git update from 1.7.10.4-1ubuntu1 to 1.8.1.2 > > my export script doesn't work anymore. > > I tried to put .gitattributes or .git/info/attributes, the file is the following > http://pastebin.com/irngA1L8 > > the git is > git clone http://boinc.berkeley.edu/git/boinc-v2.git > > and the command is > > git archive --prefix boinc-7.1.7+dfsg/ --format tgz -o > ../boinc_7.1.7+dfsg.orig.tar.gz -9  client_release/7.1/7.1.7 > > The archive gets created, but every file is inside, no exclusions at all. > > I suspect a regression between git 1.7 and 1.8 > > thanks for your time > > > Gianfranco >