{"thread":{"id":"15031","subject":"[PATCH] Documentation: document the pager.* configuration setting","startedAt":"2008-08-16T02:09:44Z","lastAt":"2008-08-16T13:43:13Z","messageCount":5,"participants":["Miklos Vajna","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"87358","messageId":"1218852584-10523-1-git-send-email-vmiklos@frugalware.org","threadId":"15031","inReplyTo":null,"subject":"[PATCH] Documentation: document the pager.* configuration setting","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-08-16T02:09:44Z","receivedAt":"2008-08-16T02:09:44Z","isPatch":true,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"It was already documented in RelNotes-1.6.0, but not in the git-config\nmanual page.\n\nSigned-off-by: Miklos Vajna <vmiklos@frugalware.org>\n---\n Documentation/config.txt     |    5 +++++\n Documentation/git-config.txt |    6 ++++++\n 2 files changed, 11 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex b8ec01c..676c39b 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -978,6 +978,11 @@ pack.packSizeLimit::\n \tcan be overridden by the `\\--max-pack-size` option of\n \tlinkgit:git-repack[1].\n \n+pager.<cmd>::\n+\tAllows to set your own pager preferences for each command, overriding\n+\tthe default. If `\\--pager` or `\\--no-pager` is specified on the command\n+\tline, it takes precedence over this option.\n+\n pull.octopus::\n \tThe default merge strategy to use when pulling multiple branches\n \tat once.\ndiff --git a/Documentation/git-config.txt b/Documentation/git-config.txt\nindex 28e1861..d869942 100644\n--- a/Documentation/git-config.txt\n+++ b/Documentation/git-config.txt\n@@ -315,6 +315,12 @@ RESET=$(git config --get-color \"\" \"reset\")\n echo \"${WS}your whitespace color or blue reverse${RESET}\"\n ------------\n \n+To disable the pager for linkgit:git-status[1]:\n+\n+------------\n+% git config pager.status false\n+------------\n+\n include::config.txt[]\n \n \n-- \n1.6.0.rc0.14.g95f8.dirty\n"},{"id":"87359","messageId":"1218852873-10588-1-git-send-email-vmiklos@frugalware.org","threadId":"15031","inReplyTo":"1218852584-10523-1-git-send-email-vmiklos@frugalware.org","subject":"[PATCH] Documentation: document the pager.* configuration setting","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-08-16T02:14:33Z","receivedAt":"2008-08-16T02:14:33Z","isPatch":true,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"It was already documented in RelNotes-1.6.0, but not in the git-config\nmanual page.\n\nSigned-off-by: Miklos Vajna <vmiklos@frugalware.org>\n---\n\nUgh, I just noticed that the example was wrong, because paging for\nstatus is disabled by default. Here is a corrected version.\n\n Documentation/config.txt     |    5 +++++\n Documentation/git-config.txt |    6 ++++++\n 2 files changed, 11 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex b8ec01c..676c39b 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -978,6 +978,11 @@ pack.packSizeLimit::\n \tcan be overridden by the `\\--max-pack-size` option of\n \tlinkgit:git-repack[1].\n \n+pager.<cmd>::\n+\tAllows to set your own pager preferences for each command, overriding\n+\tthe default. If `\\--pager` or `\\--no-pager` is specified on the command\n+\tline, it takes precedence over this option.\n+\n pull.octopus::\n \tThe default merge strategy to use when pulling multiple branches\n \tat once.\ndiff --git a/Documentation/git-config.txt b/Documentation/git-config.txt\nindex 28e1861..c0bc6fa 100644\n--- a/Documentation/git-config.txt\n+++ b/Documentation/git-config.txt\n@@ -315,6 +315,12 @@ RESET=$(git config --get-color \"\" \"reset\")\n echo \"${WS}your whitespace color or blue reverse${RESET}\"\n ------------\n \n+To enable the pager for linkgit:git-status[1]:\n+\n+------------\n+% git config pager.status true\n+------------\n+\n include::config.txt[]\n \n \n-- \n1.6.0.rc0.14.g95f8.dirty\n"},{"id":"87362","messageId":"7v63q1lkbj.fsf@gitster.siamese.dyndns.org","threadId":"15031","inReplyTo":"1218852873-10588-1-git-send-email-vmiklos@frugalware.org","subject":"Re: [PATCH] Documentation: document the pager.* configuration setting","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-08-16T03:17:52Z","receivedAt":"2008-08-16T03:17:52Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> It was already documented in RelNotes-1.6.0, but not in the git-config\n> manual page.\n>\n> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>\n> ---\n>\n> Ugh, I just noticed that the example was wrong, because paging for\n> status is disabled by default. Here is a corrected version.\n\nHonestly, I do not think the distinction between your two versions matter.\nDo we need a new example there?\n\nThe patch to Documentation/config.txt looks Ok, but I do not think you\nneed to say \"allows to set your preference\".  \"Sets your preference\" would\nbe enough.\n"},{"id":"87378","messageId":"1218893893-11242-1-git-send-email-vmiklos@frugalware.org","threadId":"15031","inReplyTo":"7v63q1lkbj.fsf@gitster.siamese.dyndns.org","subject":"[PATCH] Documentation: document the pager.* configuration setting","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-08-16T13:38:13Z","receivedAt":"2008-08-16T13:38:13Z","isPatch":true,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"It was already documented in RelNotes-1.6.0, but not in the git-config\nmanual page.\n\nSigned-off-by: Miklos Vajna <vmiklos@frugalware.org>\n---\n\nOn Fri, Aug 15, 2008 at 08:17:52PM -0700, Junio C Hamano <gitster@pobox.com> wrote:\n> > Ugh, I just noticed that the example was wrong, because paging for\n> > status is disabled by default. Here is a corrected version.\n>\n> Honestly, I do not think the distinction between your two versions\n> matter.\n> Do we need a new example there?\n\nThat is a frequently asked question on #git (in the past, people asked\nhow to disable it, now they ask how to enable it), so I thought an\nexample can be helpful. Also Jeff provided such an example in the commit\nmessage of 4e10738.\n\nIf you think it's unnecessary, then just remove that hunk.\n\n> The patch to Documentation/config.txt looks Ok, but I do not think you\n> need to say \"allows to set your preference\".  \"Sets your preference\"\n> would\n> be enough.\n\nFixed. I also noticed that above the documentation uses \"Specify\" and\nnot \"Specifies\" in such a case, so I dropped the \"s\" here as well.\n\n Documentation/config.txt     |    5 +++++\n Documentation/git-config.txt |    6 ++++++\n 2 files changed, 11 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex b8ec01c..dc70ba6 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -978,6 +978,11 @@ pack.packSizeLimit::\n \tcan be overridden by the `\\--max-pack-size` option of\n \tlinkgit:git-repack[1].\n \n+pager.<cmd>::\n+\tSet your pager preference for each command, overriding the default. If\n+\t`\\--pager` or `\\--no-pager` is specified on the command line, it takes\n+\tprecedence over this option.\n+\n pull.octopus::\n \tThe default merge strategy to use when pulling multiple branches\n \tat once.\ndiff --git a/Documentation/git-config.txt b/Documentation/git-config.txt\nindex 28e1861..c0bc6fa 100644\n--- a/Documentation/git-config.txt\n+++ b/Documentation/git-config.txt\n@@ -315,6 +315,12 @@ RESET=$(git config --get-color \"\" \"reset\")\n echo \"${WS}your whitespace color or blue reverse${RESET}\"\n ------------\n \n+To enable the pager for linkgit:git-status[1]:\n+\n+------------\n+% git config pager.status true\n+------------\n+\n include::config.txt[]\n \n \n-- \n1.6.0.rc0.14.g95f8.dirty\n"},{"id":"87379","messageId":"20080816134313.GE18960@genesis.frugalware.org","threadId":"15031","inReplyTo":"1218893893-11242-1-git-send-email-vmiklos@frugalware.org","subject":"Re: [PATCH] Documentation: document the pager.* configuration setting","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-08-16T13:43:13Z","receivedAt":"2008-08-16T13:43:13Z","isPatch":true,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Sat, Aug 16, 2008 at 03:38:13PM +0200, Miklos Vajna <vmiklos@frugalware.org> wrote:\n> Fixed.\n\nAh, nevermind. I forgot to pull before sending the patch and I did not\nnotice the version without the second hunk is already in master.\n\nSorry for the noise.\n"}]}