From a155a5f075cdc09e584a58d68bdce0c80e6c4b5a Mon Sep 17 00:00:00 2001
From: Junio C Hamano <gitster@pobox.com>
Date: Tue, 3 Dec 2013 11:16:56 -0800
Subject: [PATCH] Git 1.8.5.1

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/RelNotes/1.8.5.1.txt | 9 +++++++++
 Documentation/git.txt              | 3 ++-
 GIT-VERSION-GEN                    | 2 +-
 RelNotes                           | 2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/RelNotes/1.8.5.1.txt

diff --git a/Documentation/RelNotes/1.8.5.1.txt b/Documentation/RelNotes/1.8.5.1.txt
new file mode 100644
index 0000000000..7236aaf232
--- /dev/null
+++ b/Documentation/RelNotes/1.8.5.1.txt
@@ -0,0 +1,9 @@
+Git v1.8.5.1 Release Notes
+==========================
+
+Fixes since v1.8.5
+------------------
+
+ * "git submodule init" copied "submodule.$name.update" settings from
+   .gitmodules to .git/config without making sure if the suggested
+   value was sensible.
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 4545afbd9e..4448ce2704 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -43,9 +43,10 @@ unreleased) version of Git, that is available from 'master'
 branch of the `git.git` repository.
 Documentation for older releases are available here:
 
-* link:v1.8.5/git.html[documentation for release 1.8.5]
+* link:v1.8.5.1/git.html[documentation for release 1.8.5.1]
 
 * release notes for
+  link:RelNotes/1.8.5.1.txt[1.8.5.1],
   link:RelNotes/1.8.5.txt[1.8.5].
 
 * link:v1.8.4.5/git.html[documentation for release 1.8.4.5]
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 99a62f3baf..6dd0ec1270 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=GIT-VERSION-FILE
-DEF_VER=v1.8.5
+DEF_VER=v1.8.5.1
 
 LF='
 '
diff --git a/RelNotes b/RelNotes
index 61c3b54134..0064299c0e 120000
--- a/RelNotes
+++ b/RelNotes
@@ -1 +1 @@
-Documentation/RelNotes/1.8.5.txt
\ No newline at end of file
+Documentation/RelNotes/1.8.5.1.txt
\ No newline at end of file
-- 
2.47.1