develooper Front page | perl.perl5.porters | Postings from September 2009

Ignore some files

Max Maischein
September 26, 2009 11:45
Ignore some files
Message ID:
Hello p5p,


     git clean -fdX
     git status


     # On branch blead
     # Your branch is ahead of 'origin/blead' by 1 commit.
     # Untracked files:
     #   (use "git add <file>..." to include in what will be committed)
     #       ../ext/XSLoader/
     #       ../lib/Devel/
     #       ../lib/File/
     #       ../lib/File/Spec/
     nothing added to commit but untracked files present (use "git add" 
to track)

These files seem to be copied there by the build process.

The attached three patches add these files to the respective .gitignore 

I'm not sure whether patch 0002 should be added, as it blankly puts 
whole directories under ignore. Maybe instead these directories should 
be added, but their contents ignored, so we learn about files created in 
these directories which should either also be put under version control 
or should be cleaned up/dealt with in another way.

-max Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About