[07:36] <zhsj> why git-ubuntu checks in such files https://git.launchpad.net/ubuntu/+source/inkscape/tree/src/3rdparty/2geom/..git
[11:17] <rbasak> zhsj: probably because the orig tarball includes a .git directory
[11:19] <rbasak> zhsj: it's important that git-ubuntu preserves the original source tree losslessly, because sometimes builds break if those directories change. For example it's not uncommon for upstream builds to depend on a .git directory. We wouldn't want git-ubuntu to FTBFS a source tree that is correctly built by buildds.
[11:19] <rbasak> So the .git is escaped to ..git so that it can be round-tripped back, etc.
[11:28] <zhsj> rbasak: sorry, but i don't get how to use git-ubuntu on such package... dpkg-buildpackage just complains modified source for such ..git file.
[11:58] <rbasak> zhsj: rename ..git to .git to get the same as what the original was.
[11:59] <rbasak> But that cannot be tracked in git, since git does not permit entries that use .git
[11:59] <rbasak> A workaround is necessary but that's not implemented in git-ubuntu, sorry.
[12:02] <rbasak> It might be worth contacting upstream to stop the orig tarball shipping with a .git directory. That's usually a mistake.
[13:21] <zhsj> rbasak: it's not a .git dir, is a plain file
[18:59] <rbasak> zhsj: then probably the orig tarball shipped a plain file with that name. Try extracting the orig tarballs to take a look. Whichever way, git does not accept checking anything in with the name '.git' so it has to be escaped.