{"thread":{"id":"6158","subject":"[PATCH] Fix formatting for urls section of fetch, pull, and push manpages","startedAt":"2006-12-31T01:03:51Z","lastAt":"2006-12-31T04:11:52Z","messageCount":2,"participants":["Theodore Ts'o","Theodore Tso"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"30518","messageId":"E1H0p79-0004T8-8V@candygram.thunk.org","threadId":"6158","inReplyTo":null,"subject":"[PATCH] Fix formatting for urls section of fetch, pull, and push manpages","fromName":"Theodore Ts'o","fromEmail":"tytso@mit.edu","sentAt":"2006-12-31T01:03:51Z","receivedAt":"2006-12-31T01:03:51Z","isPatch":true,"sender":{"key":"tytso@mit.edu","avatar":"https://avatars.githubusercontent.com/u/51416?v=4"},"body":"\nThe line:\n\n[remote \"<remote>\"]\n\nwas getting swallowed up by asciidoc, causing a critical line in the\nexplanation for how to store the .git/remotes information in .git/config\nto go missing from the git-fetch, git-pull, and git-push manpages.  \n\nPut all of the examples into delimited blocks to fix this problem and to\nmake them look nicer.\n\nSigned-off-by: \"Theodore Ts'o\" <tytso@mit.edu>\n---\n Documentation/urls.txt |   23 ++++++++++++++++-------\n 1 files changed, 16 insertions(+), 7 deletions(-)\n\ndiff --git a/Documentation/urls.txt b/Documentation/urls.txt\nindex 670827c..870c950 100644\n--- a/Documentation/urls.txt\n+++ b/Documentation/urls.txt\n@@ -40,9 +40,11 @@ In addition to the above, as a short-hand, the name of a\n file in `$GIT_DIR/remotes` directory can be given; the\n named file should be in the following format:\n \n-\tURL: one of the above URL format\n-\tPush: <refspec>\n-\tPull: <refspec>\n+------------\n+URL: one of the above URL format\n+Push: <refspec>\n+Pull: <refspec>\n+------------\n \n Then such a short-hand is specified in place of\n <repository> without <refspec> parameters on the command\n@@ -54,10 +56,12 @@ be specified for additional branch mappings.\n Or, equivalently, in the `$GIT_DIR/config` (note the use\n of `fetch` instead of `Pull:`):\n \n+------------\n [remote \"<remote>\"]\n \turl = <url>\n \tpush = <refspec>\n \tfetch = <refspec>\n+------------\n \n The name of a file in `$GIT_DIR/branches` directory can be\n specified as an older notation short-hand; the named\n@@ -68,10 +72,15 @@ name of remote head (URL fragment notation).\n without the fragment is equivalent to have this in the\n corresponding file in the `$GIT_DIR/remotes/` directory.\n \n-\tURL: <url>\n-\tPull: refs/heads/master:<remote>\n+------------\n+URL: <url>\n+Pull: refs/heads/master:<remote>\n+------------\n+\n \n while having `<url>#<head>` is equivalent to\n \n-\tURL: <url>\n-\tPull: refs/heads/<head>:<remote>\n+------------\n+URL: <url>\n+Pull: refs/heads/<head>:<remote>\n+------------\n-- \n1.5.0.rc0.g1ed48\n"},{"id":"30576","messageId":"20061231041152.GA791@thunk.org","threadId":"6158","inReplyTo":"E1H0p79-0004T8-8V@candygram.thunk.org","subject":"[PATCH, UPDATED] Fix formatting for urls section of fetch, pull, and push manpages","fromName":"Theodore Tso","fromEmail":"tytso@mit.edu","sentAt":"2006-12-31T04:11:52Z","receivedAt":"2006-12-31T04:11:52Z","isPatch":true,"sender":{"key":"tytso@mit.edu","avatar":"https://avatars.githubusercontent.com/u/51416?v=4"},"body":"The line:\n\n[remote \"<remote>\"]\n\nwas getting swallowed up by asciidoc, causing a critical line in the\nexplanation for how to store the .git/remotes information in .git/config\nto go missing from the git-fetch, git-pull, and git-push manpages.\n\nPut all of the examples into delimited blocks to fix this problem and to\nmake them look nicer.\n\nSigned-off-by: \"Theodore Ts'o\" <tytso@mit.edu>\n\n[Updated to make thee nroff'ed man pages look nicer]\n\n---\n Documentation/urls.txt |   19 +++++++++++++++----\n 1 files changed, 15 insertions(+), 4 deletions(-)\n\ndiff --git a/Documentation/urls.txt b/Documentation/urls.txt\nindex 670827c..745f967 100644\n--- a/Documentation/urls.txt\n+++ b/Documentation/urls.txt\n@@ -40,10 +40,13 @@ In addition to the above, as a short-hand, the name of a\n file in `$GIT_DIR/remotes` directory can be given; the\n named file should be in the following format:\n \n+------------\n \tURL: one of the above URL format\n \tPush: <refspec>\n \tPull: <refspec>\n \n+------------\n+\n Then such a short-hand is specified in place of\n <repository> without <refspec> parameters on the command\n line, <refspec> specified on `Push:` lines or `Pull:`\n@@ -54,10 +57,13 @@ be specified for additional branch mappings.\n Or, equivalently, in the `$GIT_DIR/config` (note the use\n of `fetch` instead of `Pull:`):\n \n-[remote \"<remote>\"]\n-\turl = <url>\n-\tpush = <refspec>\n-\tfetch = <refspec>\n+------------\n+\t[remote \"<remote>\"]\n+\t\turl = <url>\n+\t\tpush = <refspec>\n+\t\tfetch = <refspec>\n+\n+------------\n \n The name of a file in `$GIT_DIR/branches` directory can be\n specified as an older notation short-hand; the named\n@@ -68,10 +74,15 @@ name of remote head (URL fragment notation).\n without the fragment is equivalent to have this in the\n corresponding file in the `$GIT_DIR/remotes/` directory.\n \n+------------\n \tURL: <url>\n \tPull: refs/heads/master:<remote>\n \n+------------\n+\n while having `<url>#<head>` is equivalent to\n \n+------------\n \tURL: <url>\n \tPull: refs/heads/<head>:<remote>\n+------------\n-- \n1.5.0.rc0.g1d42\n"}]}