diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-10 16:06:58 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-10 16:06:58 -0400 |
commit | 4049c257fa88325f6e5496a59536c2bb6fbee8aa (patch) | |
tree | aa17e5b2006b54b37ce428bcb5ba4d40168f917e /Command/Smudge.hs | |
parent | c509e89cc07bf0f252a11e51b14e97a82e037c95 (diff) |
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
Diffstat (limited to 'Command/Smudge.hs')
-rw-r--r-- | Command/Smudge.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Smudge.hs b/Command/Smudge.hs index 14d3a7f41..cd33b193e 100644 --- a/Command/Smudge.hs +++ b/Command/Smudge.hs @@ -99,4 +99,4 @@ ingest file = do return k emitPointer :: Key -> IO () -emitPointer = putStrLn . formatPointer +emitPointer = putStr . formatPointer |