{"thread":{"id":"40506","subject":"[PATCH] log: Update log.follow doc and add to config.txt","startedAt":"2015-10-07T01:14:33Z","lastAt":"2015-10-07T01:20:16Z","messageCount":2,"participants":["Eric N. Vander Weele","David Turner"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"271249","messageId":"1444180473-8518-1-git-send-email-ericvw@gmail.com","threadId":"40506","inReplyTo":null,"subject":"[PATCH] log: Update log.follow doc and add to config.txt","fromName":"Eric N. Vander Weele","fromEmail":"ericvw@gmail.com","sentAt":"2015-10-07T01:14:33Z","receivedAt":"2015-10-07T01:14:33Z","isPatch":true,"sender":{"key":"ericvw@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1284017?v=4"},"body":"Documentation/config.txt does not include the documentation for\nlog.follow that is in Documentation/git-log.txt.  This commit adds the\nlog.follow documentation to config.txt and also updates the wording to\nbe consistent with the format that is followed by other boolean\nconfiguration variables.\n\nSigned-off-by: Eric N. Vander Weele <ericvw@gmail.com>\n---\n Documentation/config.txt  | 6 ++++++\n Documentation/git-log.txt | 8 ++++----\n 2 files changed, 10 insertions(+), 4 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 4d3cb10..391a0c3 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -1838,6 +1838,12 @@ log.decorate::\n \tspecified, the full ref name (including prefix) will be printed.\n \tThis is the same as the log commands '--decorate' option.\n \n+log.follow::\n+\tIf `true`, `git log` will act as if the `--follow` option was used when\n+\ta single <path> is given.  This has the same limitations as `--follow`,\n+\ti.e. it cannot be used to follow multiple files and does not work well\n+\ton non-linear history.\n+\n log.showRoot::\n \tIf true, the initial commit will be shown as a big creation event.\n \tThis is equivalent to a diff against an empty tree.\ndiff --git a/Documentation/git-log.txt b/Documentation/git-log.txt\nindex 97b9993..03f9580 100644\n--- a/Documentation/git-log.txt\n+++ b/Documentation/git-log.txt\n@@ -185,10 +185,10 @@ log.date::\n \tdates like `Sat May 8 19:35:34 2010 -0500`.\n \n log.follow::\n-\tIf a single <path> is given to git log, it will act as\n-\tif the `--follow` option was also used.  This has the same\n-\tlimitations as `--follow`, i.e. it cannot be used to follow\n-\tmultiple files and does not work well on non-linear history.\n+\tIf `true`, `git log` will act as if the `--follow` option was used when\n+\ta single <path> is given.  This has the same limitations as `--follow`,\n+\ti.e. it cannot be used to follow multiple files and does not work well\n+\ton non-linear history.\n \n log.showRoot::\n \tIf `false`, `git log` and related commands will not treat the\n-- \n2.6.0\n"},{"id":"271250","messageId":"1444180816.7739.65.camel@twopensource.com","threadId":"40506","inReplyTo":"1444180473-8518-1-git-send-email-ericvw@gmail.com","subject":"Re: [PATCH] log: Update log.follow doc and add to config.txt","fromName":"David Turner","fromEmail":"dturner@twopensource.com","sentAt":"2015-10-07T01:20:16Z","receivedAt":"2015-10-07T01:20:16Z","isPatch":true,"sender":{"key":"novalis@novalis.org","avatar":"https://avatars.githubusercontent.com/u/77003?v=4"},"body":"On Tue, 2015-10-06 at 21:14 -0400, Eric N. Vander Weele wrote:\n> Documentation/config.txt does not include the documentation for\n> log.follow that is in Documentation/git-log.txt.  This commit adds the\n> log.follow documentation to config.txt and also updates the wording to\n> be consistent with the format that is followed by other boolean\n> configuration variables.\n> \n> Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>\n> ---\n>  Documentation/config.txt  | 6 ++++++\n>  Documentation/git-log.txt | 8 ++++----\n>  2 files changed, 10 insertions(+), 4 deletions(-)\n> \n> diff --git a/Documentation/config.txt b/Documentation/config.txt\n> index 4d3cb10..391a0c3 100644\n> --- a/Documentation/config.txt\n> +++ b/Documentation/config.txt\n> @@ -1838,6 +1838,12 @@ log.decorate::\n>  \tspecified, the full ref name (including prefix) will be printed.\n>  \tThis is the same as the log commands '--decorate' option.\n>  \n> +log.follow::\n> +\tIf `true`, `git log` will act as if the `--follow` option was used when\n> +\ta single <path> is given.  This has the same limitations as `--follow`,\n> +\ti.e. it cannot be used to follow multiple files and does not work well\n> +\ton non-linear history.\n> +\n>  log.showRoot::\n>  \tIf true, the initial commit will be shown as a big creation event.\n>  \tThis is equivalent to a diff against an empty tree.\n> diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt\n> index 97b9993..03f9580 100644\n> --- a/Documentation/git-log.txt\n> +++ b/Documentation/git-log.txt\n> @@ -185,10 +185,10 @@ log.date::\n>  \tdates like `Sat May 8 19:35:34 2010 -0500`.\n>  \n>  log.follow::\n> -\tIf a single <path> is given to git log, it will act as\n> -\tif the `--follow` option was also used.  This has the same\n> -\tlimitations as `--follow`, i.e. it cannot be used to follow\n> -\tmultiple files and does not work well on non-linear history.\n> +\tIf `true`, `git log` will act as if the `--follow` option was used when\n> +\ta single <path> is given.  This has the same limitations as `--follow`,\n> +\ti.e. it cannot be used to follow multiple files and does not work well\n> +\ton non-linear history.\n>  \n>  log.showRoot::\n>  \tIf `false`, `git log` and related commands will not treat the\n\n\nLGTM.\n"}]}