Skip to content

Update git-lfs-migrate man page and add description section#4458

Merged
chrisd8088 merged 3 commits intogit-lfs:mainfrom
chrisd8088:migrate-doc-updates
Mar 30, 2021
Merged

Update git-lfs-migrate man page and add description section#4458
chrisd8088 merged 3 commits intogit-lfs:mainfrom
chrisd8088:migrate-doc-updates

Conversation

@chrisd8088
Copy link
Member

@chrisd8088 chrisd8088 commented Mar 30, 2021

We add a lengthy description section to the git-lfs-migrate man page to order to provide some context and general guidance on how and when the command should be used, as well as trying to explain several potentially non-intuitive concepts and encourage users to check their repositories thoroughly before and after attempting an import or export operation.

We also adjust some formatting details in the page, fix some typos, and make other minor revisions to suggest using the --all option when force-pushing after importing with --everything, stop implying that only large files are ever imported or exported, and avoid stating that a single use case is definitely more prevalent than all others.

And we allow man page headers to include parentheses so that the specialized headers in the git-lfs-migrate man page (e.g., "IMPORT (NO REWRITE)") are supported and properly linked within the rendered page.

Fixes #4408.
/cc @glass-ships as reporter.

We allow man page headers to include parentheses so that
the specialized headers in the git-lfs-migrate man page
are supported and properly linked within the rendered page.
@chrisd8088 chrisd8088 requested a review from a team March 30, 2021 05:28
@chrisd8088 chrisd8088 marked this pull request as ready for review March 30, 2021 06:20
We adjust some formatting details in the git-lfs-migrate man
page, fix some typos, and make other minor revisions to suggest
using the --all option when force-pushing after importing with
--everything, stop implying that only large files are ever
imported or exported, and avoid stating that a single use case
is definitely more prevalent than all others.

We also add several "see also" references, expand the section
describing the "info" mode and provide some example output, and
reword some of the usage text for the --{exclude,include}[-ref]
options.
We add a lengthy description section to the git-lfs-migrate
man page to order to provide some context and general
guidance on how and when the command should be used, as well
as trying to explain several potentially non-intuitive concepts
and encourage users to check their repositories thoroughly
before and after attempting an import or export operation.
@chrisd8088 chrisd8088 force-pushed the migrate-doc-updates branch from 686b2b3 to 85def84 Compare March 30, 2021 08:29
Copy link
Member

@bk2204 bk2204 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great improvement to the documentation.

@chrisd8088 chrisd8088 merged commit dc68f8a into git-lfs:main Mar 30, 2021
@chrisd8088 chrisd8088 deleted the migrate-doc-updates branch March 30, 2021 18:01
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Feb 1, 2022
This reverts commit 08cb542
from PR git-lfs#4458 because that change, while it does resolve some
formatting issues in the output from the "git lfs help" command,
does not address the fact that ronn(1) is unable to process
parentheses in header text and therefore still generates
pages (particularly for the git-lfs-migrate(1) page) with
broken links and HTML anchors for such headers.

Since we will rewrite the relevant manual pages in a subsequent
commit to remove the parentheses, we can simply revert this
change first.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Feb 7, 2022
This reverts commit 08cb542
from PR git-lfs#4458 because that change, while it does resolve some
formatting issues in the output from the "git lfs help" command,
does not address the fact that ronn(1) is unable to process
parentheses in header text and therefore still generates
pages (particularly for the git-lfs-migrate(1) page) with
broken links and HTML anchors for such headers.

Since we will rewrite the relevant manual pages in a subsequent
commit to remove the parentheses, we can simply revert this
change first.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Feb 7, 2022
This reverts commit 08cb542
from PR git-lfs#4458 because that change, while it does resolve some
formatting issues in the output from the "git lfs help" command,
does not address the fact that ronn(1) is unable to process
parentheses in header text and therefore still generates
pages (particularly for the git-lfs-migrate(1) page) with
broken references for such headers.

Since we will rewrite the relevant manual pages in a subsequent
commit to remove the parentheses, we simply revert this change first.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Feb 7, 2022
This reverts commit 08cb542
from PR git-lfs#4458 because that change, while it does resolve some
formatting issues in the output from the "git lfs help" command,
does not address the fact that ronn(1) is unable to process
parentheses in header text and therefore still generates
pages (particularly for the git-lfs-migrate(1) page) with
broken references for such headers.

Since we will rewrite the relevant manual pages in a subsequent
commit to remove the parentheses, we simply revert this change first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature/add: lfs migrate import --remote

2 participants