Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/8023014ecf192381ffba4b60a3dd21630e5c1d18

>---------------------------------------------------------------

commit 8023014ecf192381ffba4b60a3dd21630e5c1d18
Author: Ian Lynagh <[email protected]>
Date:   Sun Jun 26 20:41:41 2011 +0100

    lndir: Ignore .git directories

>---------------------------------------------------------------

 utils/lndir/lndir.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/utils/lndir/lndir.c b/utils/lndir/lndir.c
index bfce2b5..8269f6e 100644
--- a/utils/lndir/lndir.c
+++ b/utils/lndir/lndir.c
@@ -324,6 +324,8 @@ int rel;                        /* if true, prepend "../" 
to fn before using */
                     continue;
                 if (!strcmp (dp->d_name, ".svn"))
                     continue;
+                if (!strcmp (dp->d_name, ".git"))
+                    continue;
                 if (!strcmp (dp->d_name, "_darcs"))
                     continue;
                 if (!strcmp (dp->d_name, "CVS.adm"))



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to