Skip to contentSkip to conversation

mingw: update a link to the official documentation

PATCH In review Johannes Schindelin via GitGitGadget 2 participants 3 messages Nov 15, 2018

lore
Share & tools
lore
#0 lore raw

cover mingw: update a link to the official documentation

It is a pretty neat thing that the bulky MSDN documentation has been replaced by something a lot more open, something that can be updated via Pull Requests on GitHub. Let's link to this new documentation instead of the obsolete one.

I know, it is really close to the code freeze leading up to Git v2.20.0. But this is just an update to a code comment... :-)

Johannes Schindelin (1):
mingw: replace an obsolete link with the superseding one

 compat/mingw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

base-commit: d166e6afe5f257217836ef24a73764eba390c58d
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-81%2Fdscho%2Fmingw-update-msdn-link-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-81/dscho/mingw-update-msdn-link-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/81

Signature · 1 line
gitgitgadget
#1 lore raw

PATCH 1/1 mingw: replace an obsolete link with the superseding one

From: Johannes Schindelin <[email protected]>

The MSDN documentation has been superseded by Microsoft Docs (which is backed by a repository on GitHub containing many, many files in Markdown format).

---
 compat/mingw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
compat/mingw.c +2 -2
index d2f4fabb44..9e42b0ee26 100644
@@ -1028,8 +1028,8 @@ char *mingw_getcwd(char *pointer, int len)
 }
 
 /*
- * See http://msdn2.microsoft.com/en-us/library/17w5ykft(vs.71).aspx
- * (Parsing C++ Command-Line Arguments)
+ * See "Parsing C++ Command-Line Arguments" at Microsoft's Docs:
+ * https://docs.microsoft.com/en-us/cpp/cpp/parsing-cpp-command-line-arguments
  */
 static const char *quote_arg(const char *arg)
 {
Signature · 1 line
gitgitgadget
#2 lore raw

Re: [PATCH 1/1] mingw: replace an obsolete link with the superseding one

Am 15.11.18 um 12:22 schrieb Johannes Schindelin via GitGitGadget:

Quoted 17 lines

From: Johannes Schindelin <[email protected]>

The MSDN documentation has been superseded by Microsoft Docs (which is backed by a repository on GitHub containing many, many files in Markdown format).

---
  compat/mingw.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
compat/mingw.c +0 -0
index d2f4fabb44..9e42b0ee26 100644

compat/mingw.c char *mingw_getcwd(char *pointer, int len) · line 1035

Quoted 10 lines
compat/mingw.c +2 -2
@@ -1028,8 +1028,8 @@ char *mingw_getcwd(char *pointer, int len)
  }
 
  /*
- * See http://msdn2.microsoft.com/en-us/library/17w5ykft(vs.71).aspx
- * (Parsing C++ Command-Line Arguments)
+ * See "Parsing C++ Command-Line Arguments" at Microsoft's Docs:
+ * https://docs.microsoft.com/en-us/cpp/cpp/parsing-cpp-command-line-arguments
   */
  static const char *quote_arg(const char *arg)
  {

Thank you! That's much better than the original obfuscated page name.

-- Hannes