don't mark phony edges dirty if none of their inputs are dirty
authorEvan Martin <martine@danga.com>
Fri, 9 Sep 2011 20:48:27 +0000 (13:48 -0700)
committerEvan Martin <martine@danga.com>
Fri, 9 Sep 2011 20:48:27 +0000 (13:48 -0700)
commit639c8f0bad935625f3e61fb9dfac7da17b4d7625
tree2bbbec00bd86c2d5e7692c2dc5cbc05508892c4f
parent531c5e5bef4ef26d7456c462673435402697d7b8
don't mark phony edges dirty if none of their inputs are dirty

Because the output file is always missing, we'd consider a phony edge
dirty even when there wasn't any work to do.  Most importantly, that
would mean we wouldn't print "nothing to do" in the common case of
everything being up to date when building an alias.
src/build_test.cc
src/graph.cc