This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit e11660a4cbdaf391996611f0ee0cd5c4127c96fc
Author: Niels Thykier <[email protected]>
Date:   Sat Feb 8 17:59:46 2014 +0100

    r/harness: Do not write state-cache during dry-runs
    
    Signed-off-by: Niels Thykier <[email protected]>
---
 debian/changelog  | 2 ++
 reporting/harness | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c84d21d..aa91f6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ lintian (2.5.22) UNRELEASED; urgency=medium
 
   * reporting/config:
     + [NT] Fix typo of HARNESS_STATE_DIR config variable.
+  * reporting/harness:
+    + [NT] Avoid writing state-cache during dry-run.
   * reporting/html_reports:
     + [NT] Link to the library API docs from the index page.
       (Closes: #639974)
diff --git a/reporting/harness b/reporting/harness
index 2a835c9..9e8b85c 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -354,7 +354,8 @@ unless ($opt{'reports-only'}) {
             }
         }
     }
-    save_state_cache($STATE_DIR, $state);
+    save_state_cache($STATE_DIR, $state)
+        if not $opt{'dry-run'};
 
     # Flushes the changed manifest to the file system - croaks on
     # error

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to