diff --git a/CHANGELOG b/CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,12 @@
+git-annex (10.20221003) upstream; urgency=medium
+
+  * Avoid displaying warning about git-annex restage needing to be run
+    in situations where it does not.
+  * Fix the annex.adviceNoSshCaching config, which has never worked.
+    Thanks, Reiko Asakura
+
+ -- Joey Hess <id@joeyh.name>  Mon, 03 Oct 2022 12:38:48 -0400
+
 git-annex (10.20220927) upstream; urgency=medium
 
   * Fix a bug in the last release that caused v8 repositories to upgrade
diff --git a/Git/UpdateIndex.hs b/Git/UpdateIndex.hs
--- a/Git/UpdateIndex.hs
+++ b/Git/UpdateIndex.hs
@@ -160,7 +160,6 @@
 
 	go (Just h, _, _, pid) = do
 		let closer = do
-			hFlush h
 			hClose h
 			forceSuccessProcess p pid
 		feeder $ \case
diff --git a/Types/GitConfig.hs b/Types/GitConfig.hs
--- a/Types/GitConfig.hs
+++ b/Types/GitConfig.hs
@@ -265,7 +265,7 @@
 			| otherwise = Nothing
 		  in mapMaybe get (M.toList (Git.config r))
 		]
-	, annexAdviceNoSshCaching = getbool (annexConfig "adviceNoSshCaching") True
+	, annexAdviceNoSshCaching = getbool (annexConfig "advicenosshcaching") True
 	}
   where
 	getbool k d = fromMaybe d $ getmaybebool k
diff --git a/git-annex.cabal b/git-annex.cabal
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -1,5 +1,5 @@
 Name: git-annex
-Version: 10.20220927
+Version: 10.20221003
 Cabal-Version: 1.12
 License: AGPL-3
 Maintainer: Joey Hess <id@joeyh.name>
