Implement git project description (.git/description
)
#9957
+112
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
There's a file for a project description, which is so far only properly implemented by gitweb, even tho GitHub Repositories feature a name and short description.
https://github.com/git/git/blob/04eaff62f286226f501dd21f069e0e257aee11a6/gitweb/gitweb.perl#L2951-L2954
More information/usages:
https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain
https://stackoverflow.com/questions/6866838/what-should-be-in-the-git-description-file
https://github.com/stephenh/git-central/blob/080aad76176bda0daef478cc1b6cd8fcbfc08112/server/post-receive-email#L453
https://lists.gnu.org/archive/html/savannah-hackers/2009-03/msg00051.html
Tasks
ProjectDescription
struct
and related helpersrepo create