aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-24 23:01:32 +0200
committerGitHub <noreply@github.com>2020-09-24 23:01:32 +0200
commit5a7fd38dbb0d0b3485c365486691cc018fb35575 (patch)
treeaf614ef976381b59611f718f84c313e903dcdb6a
parent8d9402f411643c451cf2a0776afcb3a1af0f9a8c (diff)
parentbd5f3dbe118d569ffb201ce14394572ac5fc412c (diff)
Merge pull request #4063 from kquick/fix_hash-file_desc
Fixes fall-through to report correct description of hash-file command.
-rw-r--r--src/nix/hash.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc
index 0eca4f8ea..494f00a20 100644
--- a/src/nix/hash.cc
+++ b/src/nix/hash.cc
@@ -44,6 +44,7 @@ struct CmdHash : Command
switch (mode) {
case FileIngestionMethod::Flat:
d = "print cryptographic hash of a regular file";
+ break;
case FileIngestionMethod::Recursive:
d = "print cryptographic hash of the NAR serialisation of a path";
};