Hi Jonathan, On Sun, Dec 16, 2018 at 01:45:48PM -0800, Jonathan Nieder wrote: > > git-cvsimport invokes git-hash-object in a way that causes it to read > > /tmp/.gitattributes. This patch avoids the behaviour by passing > > --no-filters to > > git-hash-object. An alternative approach would be to put create a temporary > > directory call git-hash-object on files withing that private directory. > > > > --- git-cvsimport.orig 2013-04-03 09:53:47.000000000 +0200 > > +++ git-cvsimport 2013-04-03 09:51:20.000000000 +0200 > > @@ -1030,7 +1030,7 @@ > > my $pid = open(my $F, '-|'); > > die $! unless defined $pid; > > if (!$pid) { > > - exec("git", "hash-object", "-w", $tmpname) > > + exec("git", "hash-object", "--no-filters", "-w", > > $tmpname) > > or die "Cannot create object: $!\n"; > > } > > my $sha = <$F>; > > Sorry for the very long silence. May I forge your sign-off when passing > this upstream? See > https://www.kernel.org/pub/software/scm/git/docs/SubmittingPatches.html#sign-off > for more details about what this means.
Yes please. Helmut