debian-bugs-dist  

Bug#569031: git-buildpackage: git-import-orig commits vim's .swp files

Guido Günther
Tue, 09 Feb 2010 09:06:28 -0800

On Tue, Feb 09, 2010 at 05:01:04PM +0100, Thomas Koch wrote:
> Package: git-buildpackage
> Version: 0.4.64
> Severity: normal
> 
> It often happens, that I forget to close all files in vim before doing
> git-import-orig. In this case, the temporary *.swp files will be
> committed to the upstream branch together with the content of the
> orig.tar.gz.
> Of course I have *.swp in my $HOME/.gitignore, so that git status does
> not report these files to me.
> Maybe this is an error in pristine-tar?
This shouldn't happen when using --fast-import. It's caused by the fact
that you ignore the files in your git configuration so git-import-orig
has a hard time to find out where the file comes from. This is avoided
by using fast-import. I have patches that use fast-import for everything
but this needs more testing.
Cheers,
 -- Guido



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org