Skip to contentSkip to conversation

.github/CONTRIBUTING.md: fix broken link to SubmittingPatches

PATCH In review Abdalrhman Mohamed 3 participants 4 messages Jan 31 – Feb 1

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .github/CONTRIBUTING.md: fix broken link to SubmittingPatches

The link to SubmittingPatches documentation was pointing to a non-existent 'Documentation' branch. Correct it to point to the 'master' branch so that new contributors on GitHub can find the submission guidelines.

---
 .github/CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.github/CONTRIBUTING.md +1 -1
index c8755e38de..e5d696fd42 100644
@@ -10,7 +10,7 @@ conveniently send your Pull Requests commits to our mailing list.
 
 Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo)
 to learn how the Git project is managed, and how you can work with it.
-In addition, we highly recommend you to read [our submission guidelines](../Documentation/SubmittingPatches).
+In addition, we highly recommend you to read [our submission guidelines](https://github.com/git/git/blob/master/Documentation/SubmittingPatches).
 
 If you prefer video, then [this talk](https://www.youtube.com/watch?v=Q7i_qQW__q4&feature=youtu.be&t=6m4s)
 might be useful to you as the presenter walks you through the contribution
Signature · 1 line
2.25.1
#1 lore raw

.github/CONTRIBUTING.md conveniently send your Pull Requests commits to our mailing list. · line 13

Quoted 2 lines · Abdalrhman Mohamed
.github/CONTRIBUTING.md +1 -1
-In addition, we highly recommend you to read [our submission guidelines](../Documentation/SubmittingPatches).
+In addition, we highly recommend you to read [our submission guidelines](https://github.com/git/git/blob/master/Documentation/SubmittingPatches).

The line is overly long already in the original; can we make it a bit more readable?

As to the contents, referring to our preformatted docs, like

https://git.github.io/htmldocs/SubmittingPatches

would probably be more appropriate, no?

#2 lore raw
Quoted 8 lines · Junio C Hamano

.github/CONTRIBUTING.md conveniently send your Pull Requests commits to our mailing list. · line 13

Quoted 2 lines · Abdalrhman Mohamed
.github/CONTRIBUTING.md +1 -1
-In addition, we highly recommend you to read [our submission guidelines](../Documentation/SubmittingPatches).
+In addition, we highly recommend you to read [our submission guidelines](https://github.com/git/git/blob/master/Documentation/SubmittingPatches).

The line is overly long already in the original; can we make it a bit more readable?

Quoted 5 lines

As to the contents, referring to our preformatted docs, like

https://git.github.io/htmldocs/SubmittingPatches

would probably be more appropriate, no?

A few lines below, the document links to git-scm.com/docs:

Or, you can follow the ["My First Contribution"](https://git-scm.com/docs/MyFirstContribution) tutorial for another example of the contribution process.

I didn't look at any discussion around b75a219904 (docs:
mention MyFirstContribution in more places, 2020-06-08) where that was added. It would make sense to be consistent about where the links point, e.g.:

https://git-scm.com/docs/SubmittingPatches

As CONTRIBUTING.md is in the .github directory, it's probably fine to link there for both. On the other hand, having more references to the upstream site might be good for consistency across the various places the Git code is hosted. Maybe that increases the standing of git-scm.com in search rankings too, I don't know.

Whatever the reasoning, it should probably apply to both links.

Signature · 1 line
Todd
#3 lore raw

PATCH v2 1/1 .github/CONTRIBUTING.md: link to SubmittingPatches on git-scm.com

The relative link to SubmittingPatches is broken when viewed through GitHub's specialized "Contributing" tab. Update the link to point to the documentation on git-scm.com to be consistent with other links in the same file. Also, wrap the line to improve readability.

---
 .github/CONTRIBUTING.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
.github/CONTRIBUTING.md +2 -1
index c8755e38de..93042128d6 100644
@@ -10,7 +10,8 @@ conveniently send your Pull Requests commits to our mailing list.
 
 Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo)
 to learn how the Git project is managed, and how you can work with it.
-In addition, we highly recommend you to read [our submission guidelines](../Documentation/SubmittingPatches).
+In addition, we highly recommend you to read
+[our submission guidelines](https://git-scm.com/docs/SubmittingPatches).
 
 If you prefer video, then [this talk](https://www.youtube.com/watch?v=Q7i_qQW__q4&feature=youtu.be&t=6m4s)
 might be useful to you as the presenter walks you through the contribution
Signature · 1 line
2.50.1