Record uuid when auto-initializing a remote so it shows in status.

This commit is contained in:
Joey Hess 2011-11-02 14:18:21 -04:00
parent 8e249ea0bd
commit eec137f33a
4 changed files with 14 additions and 1 deletions

View file

@ -83,7 +83,7 @@ keyValue size file = do
{- Extension preserving keys. -}
keyValueE :: SHASize -> FilePath -> Annex (Maybe Key)
keyValueE size file = keyValue >>= maybe (return Nothing) addE
keyValueE size file = keyValue size file >>= maybe (return Nothing) addE
where
addE k = return $ Just $ k
{ keyName = keyName k ++ extension