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:
Joey Hess 2013-09-06 16:54:31 -04:00
parent 89731a2737
commit dce7389dd0
2 changed files with 5 additions and 0 deletions

View file

@ -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

2
debian/changelog vendored
View file

@ -21,6 +21,8 @@ git-annex (4.20130828) UNRELEASED; urgency=low
and disadvantages, but encryption=hybrid is the recommended scheme still.
(Thanks, guilhem for the patch.)
* Fix Feeds display in build flags.
* 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.
-- Joey Hess <joeyh@debian.org> Tue, 27 Aug 2013 11:03:00 -0400