always format pointer file with a trailing newline

Before the smudge filter added a trailing newline, but other things that
wrote formatPointer to a file did not.

also some new pointer staging code to use later
This commit is contained in:
Joey Hess 2015-12-10 16:06:58 -04:00
parent 108f711d37
commit 06a8256bf6
Failed to extract signature
2 changed files with 15 additions and 3 deletions

View file

@ -99,4 +99,4 @@ ingest file = do
return k
emitPointer :: Key -> IO ()
emitPointer = putStrLn . formatPointer
emitPointer = putStr . formatPointer