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
|
ppuuidswanted <- Remote.prettyPrintUUIDs "wanted" uuidswanted
|
||||||
ppuuidsskipped <- Remote.prettyPrintUUIDs "skipped" uuidsskipped
|
ppuuidsskipped <- Remote.prettyPrintUUIDs "skipped" uuidsskipped
|
||||||
showLongNote $ message ppuuidswanted ppuuidsskipped
|
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
|
where
|
||||||
filteruuids l x = filter (`notElem` x) l
|
filteruuids l x = filter (`notElem` x) l
|
||||||
message [] [] = nolocmsg
|
message [] [] = nolocmsg
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -21,6 +21,8 @@ git-annex (4.20130828) UNRELEASED; urgency=low
|
||||||
and disadvantages, but encryption=hybrid is the recommended scheme still.
|
and disadvantages, but encryption=hybrid is the recommended scheme still.
|
||||||
(Thanks, guilhem for the patch.)
|
(Thanks, guilhem for the patch.)
|
||||||
* Fix Feeds display in build flags.
|
* 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
|
-- Joey Hess <joeyh@debian.org> Tue, 27 Aug 2013 11:03:00 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue