better quoting of description via show

This commit is contained in:
Joey Hess 2011-03-03 17:22:17 -04:00
parent 657395b628
commit 7b2762fb92

View file

@ -47,7 +47,7 @@ perform description = do
showLongNote $
"This is a bare repository, so its description cannot be committed.\n" ++
"To record the description, run this command in a clone of this repository:\n" ++
" git annex describe " ++ (show u) ++ " '" ++ description ++ "'\n\n"
" git annex describe " ++ show u ++ " " ++ show description ++ "\n\n"
return $ Just $ return True
else do
describeUUID u description