summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-17 23:43:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-17 23:43:58 +0200
commitc708681021c7832a231b199e0e15159b8d75f3d0 (patch)
treecc9c9cda1c214ccd7f09f6922dc3be7bd8833f1a /lib
parent76a1ba5f056fbdce14054128faedb0512bfee2d0 (diff)
Further tests
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Hashl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm
index 58af4a6..8d3187c 100644
--- a/lib/App/Hashl.pm
+++ b/lib/App/Hashl.pm
@@ -149,7 +149,8 @@ sub ignored {
sub ignore {
my ($self, $file) = @_;
- push(@{ $self->{ignored}->{hashes} }, $file);
+ $self->delete_file($file);
+ push(@{ $self->{ignored}->{hashes} }, $self->hash_file($file));
}
sub save {