[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: git-import-orig: work around a .gitignore file ignoring debian/ ?



On Sat, 10 Sep 2016 23:53:40 +0200, Raphaël Halimi wrote:

> I maintain a package and the latest release tarball from source
> unfortunately contains a .gitignore file listing debian/. I can't import
> it in my git copy with "gbp import-orig --uscan" and patch it in
> debian/patches afterwards, since as soon as the new tarball would be
> imported, the whole debian/ directory would be ignored by git (it's a
> chicken and egg problem).

% cat debian/gbp.conf
[import-orig]
filter = .gitignore


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Pink Floyd: The trial

Attachment: signature.asc
Description: Digital Signature


Reply to: