Changeset 1136 for trunk/lib/Node.cc


Ignore:
Timestamp:
Jul 18, 2010, 9:18:58 PM (13 years ago)
Author:
Peter Johansson
Message:

fixes #329. config option to exclude pages for files in report (only output directories).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r978 r1136  
    2323#include "Node.h"
    2424
     25#include "Configuration.h"
    2526#include "Date.h"
    2627#include "HtmlStream.h"
     
    104105    // there is no output for nodes when user has zero contribution
    105106    else if (user!="all" && !stats.lines(user))
     107      os << name();
     108    else if (!Configuration::instance().output_file() && !this->dir())
    106109      os << name();
    107110    else
     
    195198  {
    196199    if (ignore())
     200      return;
     201    if (!Configuration::instance().output_file() && !this->dir())
    197202      return;
    198203    if (verbose)
Note: See TracChangeset for help on using the changeset viewer.