diff options
author | Joey Hess <joey@kitenet.net> | 2011-05-15 02:02:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-05-15 02:02:46 -0400 |
commit | 56bc3e95cabb85e5f23e30b453f90438c33efbb8 (patch) | |
tree | c13ac69cfc2b5ba9582aa5c1ebd427bc0d337b16 /Command/Describe.hs | |
parent | b400984ddf9aeb24c3d67e87cfeb29470618636c (diff) |
refactor some boilerplate
Diffstat (limited to 'Command/Describe.hs')
-rw-r--r-- | Command/Describe.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Describe.hs b/Command/Describe.hs index 9e98a8143..dcabef7fb 100644 --- a/Command/Describe.hs +++ b/Command/Describe.hs @@ -29,9 +29,9 @@ start params = notBareRepo $ do showStart "describe" name u <- Remote.nameToUUID name - return $ Just $ perform u description + next $ perform u description perform :: UUID -> String -> CommandPerform perform u description = do describeUUID u description - return $ Just $ Command.Init.cleanup + next $ Command.Init.cleanup |