From 5c46685ab3bc1f579e55d764d5887b7f4a208d65 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 5 Mar 2013 15:39:42 -0400 Subject: two types of byName Clean up from 5123a1a83aa3b954fe67629508bab5ccea0e4148. In some cases, looking up a remote by name even though it has no UUID is desirable. This includes git annex sync, which can operate on remotes without an annex, and XMPP pairing, which runs addRemote (with calls byName) before the UUID of the XMPP remote has been configured in git. --- Command/Get.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Get.hs') diff --git a/Command/Get.hs b/Command/Get.hs index 9c58bde64..95f71a84b 100644 --- a/Command/Get.hs +++ b/Command/Get.hs @@ -20,7 +20,7 @@ def = [withOptions [Command.Move.fromOption] $ command "get" paramPaths seek "make content of annexed files available"] seek :: [CommandSeek] -seek = [withField Command.Move.fromOption Remote.byName $ \from -> +seek = [withField Command.Move.fromOption Remote.byNameWithUUID $ \from -> withFilesInGit $ whenAnnexed $ start from] start :: Maybe Remote -> FilePath -> (Key, Backend) -> CommandStart -- cgit v1.2.3