Remind user when annex-ignore is set for some remotes, if unable to get or drop a file, possibly because it's on an ignored remote.
This commit is contained in:
parent
89731a2737
commit
dce7389dd0
2 changed files with 5 additions and 0 deletions
|
@ -231,6 +231,9 @@ showLocations key exclude nolocmsg = do
|
|||
ppuuidswanted <- Remote.prettyPrintUUIDs "wanted" uuidswanted
|
||||
ppuuidsskipped <- Remote.prettyPrintUUIDs "skipped" uuidsskipped
|
||||
showLongNote $ message ppuuidswanted ppuuidsskipped
|
||||
ignored <- filter (remoteAnnexIgnore . gitconfig) <$> remoteList
|
||||
unless (null ignored) $
|
||||
showLongNote $ "(Note that these git remotes have annex-ignore set: " ++ unwords (map name ignored) ++ ")"
|
||||
where
|
||||
filteruuids l x = filter (`notElem` x) l
|
||||
message [] [] = nolocmsg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue