diff options
author | Joey Hess <joey@kitenet.net> | 2011-11-02 14:18:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-11-02 14:18:21 -0400 |
commit | eec137f33a2b6982403d7dd9187500ad5a14b868 (patch) | |
tree | 9f5cf1dbf5e7be913d1f42f26d7f77943cdd2704 /Backend | |
parent | 8e249ea0bdbf0b0890d6e3d3ed1e30c1df36e136 (diff) |
Record uuid when auto-initializing a remote so it shows in status.
Diffstat (limited to 'Backend')
-rw-r--r-- | Backend/SHA.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA.hs b/Backend/SHA.hs index 3f210df1f..3a54a8871 100644 --- a/Backend/SHA.hs +++ b/Backend/SHA.hs @@ -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 |