From 35446d3c3a3ad4f4cb4bf5d4069938c1e71a038e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 29 Sep 2016 11:33:42 -0400 Subject: [PATCH] followup --- Annex/DirHashes.hs | 3 ++- .../comment_3_91af8300d640c34ff2466c89ec7a234c._comment | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 doc/forum/git-annex_add_out_of_memory_error/comment_3_91af8300d640c34ff2466c89ec7a234c._comment diff --git a/Annex/DirHashes.hs b/Annex/DirHashes.hs index 91c3e78174..004536ca79 100644 --- a/Annex/DirHashes.hs +++ b/Annex/DirHashes.hs @@ -14,6 +14,7 @@ module Annex.DirHashes ( dirHashes, hashDirMixed, hashDirLower, + display_32bits_as_dir ) where import Data.Bits @@ -74,7 +75,7 @@ hashDirLower n k = hashDirs n 3 $ take 6 $ md5s $ md5FilePath $ key2file $ nonCh -} display_32bits_as_dir :: Word32 -> String display_32bits_as_dir w = trim $ swap_pairs cs - where + where -- Need 32 characters to use. To avoid inaverdently making -- a real word, use letters that appear less frequently. chars = ['0'..'9'] ++ "zqjxkmvwgpfZQJXKMVWGPF" diff --git a/doc/forum/git-annex_add_out_of_memory_error/comment_3_91af8300d640c34ff2466c89ec7a234c._comment b/doc/forum/git-annex_add_out_of_memory_error/comment_3_91af8300d640c34ff2466c89ec7a234c._comment new file mode 100644 index 0000000000..603409b90a --- /dev/null +++ b/doc/forum/git-annex_add_out_of_memory_error/comment_3_91af8300d640c34ff2466c89ec7a234c._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2016-09-29T15:33:00Z" + content=""" +Had another report of this, and there NFS seemed to be involved in the +circumstances of the crash. +"""]] -- 2.30.2