We want all of our own manipulations to be unaffected by gitattributes
transformations, so that the imported git *trees* are identical to the
source packages. (Ie, if transformations are in effect, the
*checkout* of such a tree might not be identical to the source
package.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
runcmd qw(git config gc.auto 0);
rmtree('.git/objects');
symlink '../../../../objects','.git/objects' or die $!;
+ setup_gitattrs();
}
sub git_write_tree () {
and not, in general, reversible,
so dgit operates on the principle that
the dgit git history contains the actual contents of the package.
+(When dgit is manipulating a .dsc,
+it does so in a private area,
+where the transforming gitattributes are defused (disabled),
+to achieve this.)
If transforming gitattributes used,
they can cause trouble,