Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#2733 Add .Git to SourceControl.flt and fix ignore file rules

Branch_+_Trunk
closed-fixed
nobody
None
5
2008-11-25
2008-11-22
Tim Gerundt
No

This patch adds the ".git" folder to the "Exclude Source Control" filter and fix the ignore file rules:

Index: SourceControl.flt

--- SourceControl.flt (Revision 6118)
+++ SourceControl.flt (Arbeitskopie)
@@ -12,15 +12,17 @@
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)

-## f: *\.bzrignore$ ## Bazaar ignore file
-## f: *\.cvsignore$ ## CVS ignore file
-## f: *\.hgignore$ ## Mercurial ignore file
-## f: *\.svnignore$ ## Subversion ignore file
+## f: \.bzrignore$ ## Bazaar ignore file
+## f: \.cvsignore$ ## CVS ignore file
+## f: \.gitignore$ ## Git ignore file
+## f: \.hgignore$ ## Mercurial ignore file
+## f: \.svnignore$ ## Subversion ignore file

f: \.(vs[sp])?scc$ ## Visual SourceSafe files

d: \\\.svn$ ## Subversion working copy
d: \\_svn$ ## Subversion working copy ASP.NET Hack
d: \\cvs$ ## CVS control directory
+d: \\\.git$ ## Git directory
d: \\\.bzr$ ## Bazaar branch
d: \\\.hg$ ## Mercurial repository

Greetings,
Tim

Discussion

  • Kimmo Varis

    Kimmo Varis - 2008-11-23

    Hmm. Have you actually seen GIT repositories in Windows? Yes, there is MinGW "port" of GIT but still GIT is practically Linux-only.

     
  • Tim Gerundt

    Tim Gerundt - 2008-11-23

    Oh, there are no Git for Windows? I compared yesterday our Manual (with installed build tools) and saw all the ".gitignore" file in the DocBook XSL folders. So I looked at the "Exclude Source Control" filter and added the Git rules. And I saw, that the ignore file rules are wrong.

     
  • Kimmo Varis

    Kimmo Varis - 2008-11-24

    Git for Windows:
    http://code.google.com/p/msysgit/

    It is available, and in some way even usable. But even reading about installing tells its not for everybody.

    > and saw all the ".gitignore" file in the DocBook XSL
    Perhaps those folders were copied/exported from git repository on Linux...

    But I guess having .gitignore doesn't hurt either so go ahead and commit this patch.

    I took a look at the history of this file and seems the rules have been buggy from revision 4052 when they were added. Interesting that nobody else has noticed.

     
  • Tim Gerundt

    Tim Gerundt - 2008-11-24

    > Interesting that nobody else has noticed.

    Since the ignore file rules are commented out, the most users don't test them. And it seems not many power users uncommented them too. ;)

     
  • Kimmo Varis

    Kimmo Varis - 2008-11-25

    I'd expect at least svnignore is used..

     
  • Tim Gerundt

    Tim Gerundt - 2008-11-25

    Committed to SVN:

    * In Revision 6119 (Trunk)
    * In Revision 6120 (Branch R2_10)

     
  • Tim Gerundt

    Tim Gerundt - 2008-11-25
    • status: open --> closed-fixed
     

Log in to post a comment.