fix repo description setting bugs
* init: When the repository already has a description, don't change it. * describe: When run with no description parameter it used to set the description to "", now it will error out.
This commit is contained in:
parent
b646a85c4a
commit
a14f6ce758
5 changed files with 29 additions and 3 deletions
|
@ -21,7 +21,7 @@ seek :: CmdParams -> CommandSeek
|
|||
seek = withWords (commandAction . start)
|
||||
|
||||
start :: [String] -> CommandStart
|
||||
start (name:description) = do
|
||||
start (name:description) | not (null description) = do
|
||||
showStart' "describe" (Just name)
|
||||
u <- Remote.nameToUUID name
|
||||
next $ perform u $ unwords description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue