diff options
author | Ian Lynagh <igloo@earth.li> | 2011-06-26 20:41:41 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-06-26 20:41:41 +0100 |
commit | 8023014ecf192381ffba4b60a3dd21630e5c1d18 (patch) | |
tree | 621ed9e6eebaa3c12a6515c3866a9074986e2655 /utils/lndir/lndir.c | |
parent | c629bd1539b1865cc28ce053234595e7aeb8a5c0 (diff) | |
download | haskell-8023014ecf192381ffba4b60a3dd21630e5c1d18.tar.gz |
lndir: Ignore .git directories
Diffstat (limited to 'utils/lndir/lndir.c')
-rw-r--r-- | 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 bfce2b515e..8269f6ec9e 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")) |