From 0e55c5307b65af2615f28c61c0026d80c250f0d6 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Mon, 18 Jun 2007 17:45:55 -0700 Subject: [PATCH] Minor formatting fix when outputting the statcache file. --- statcache.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/statcache.cc b/statcache.cc index 71f6b36..03cfd95 100644 --- a/statcache.cc +++ b/statcache.cc @@ -70,6 +70,8 @@ void StatCache::Save(const string &path, struct stat *stat_buf, << "checksum: " << checksum << "\n"; *newcache << "blocks:"; + if (blocks.size() == 0) + *newcache << "\n"; for (list::const_iterator i = blocks.begin(); i != blocks.end(); ++i) { *newcache << " " << *i << "\n"; -- 2.20.1