init: When run in an already initalized repository, and without a description specified, don't delete the old description.
This commit is contained in:
parent
e9bfa8eaed
commit
cea65b9e5b
2 changed files with 3 additions and 1 deletions
|
@ -27,5 +27,5 @@ start ws = do
|
|||
|
||||
perform :: String -> CommandPerform
|
||||
perform description = do
|
||||
initialize (Just description)
|
||||
initialize $ if null description then Nothing else Just description
|
||||
next $ return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue