> On Fri, 26 Sep 2008 13:17:51 +0200, Robert Wohlrab wrote: > > git 1.6.0 has such a feature. You can use .gitattributes for that. Just > > add it to your git project directory: > > I would say that this is the wrong way to do that: > > - I do not want to specify stuff for each package I maintain with gbp. Hm, maybe other people also want to build your package (backport for example). If they don't have that information then they will end up with a different package (even if it looks quite trivial at the moment).
> - is .gitattributes shipped with `git clone`? In that case, well, I do > not want to modify upstream files... Yes, that is why it was added to export-ignore in my example. And yes, it isn't nice to change upstream files in this way. This is a good reason to introduce a feature for that to gbp. > However, it seems that .gitattributes is the only way to specify files > to be excluded from `git archive`: really, why the latter does not have > any option to tar/zip? :-( Don't understand what you mean. `git archive --format=tar` and `git archive -- format=zip` -- Robert Wohlrab -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org