{"thread":{"id":"13042","subject":"[PATCH] core-tutorial.txt: Fix showing the current behaviour.","startedAt":"2008-04-10T00:08:23Z","lastAt":"2008-04-10T10:54:19Z","messageCount":2,"participants":["Carlos Rica","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"74008","messageId":"47FD5A77.6000901@gmail.com","threadId":"13042","inReplyTo":null,"subject":"[PATCH] core-tutorial.txt: Fix showing the current behaviour.","fromName":"Carlos Rica","fromEmail":"jasampler@gmail.com","sentAt":"2008-04-10T00:08:23Z","receivedAt":"2008-04-10T00:08:23Z","isPatch":true,"sender":{"key":"jasampler@gmail.com","avatar":null},"body":"The --root option from \"git diff-tree\" won't do nothing\nwhen is given to commands like git-whatchanged or git-log,\nbecause those always print the initial commit by default.\n\nThis fixes the tutorial explaining the function of the\nlog.showroot configuration variable.\n\nSigned-off-by: Carlos Rica <jasampler@gmail.com>\n---\n Documentation/core-tutorial.txt |   12 ++++++------\n 1 files changed, 6 insertions(+), 6 deletions(-)\n\ndiff --git a/Documentation/core-tutorial.txt b/Documentation/core-tutorial.txt\nindex aa40dfd..5a55312 100644\n--- a/Documentation/core-tutorial.txt\n+++ b/Documentation/core-tutorial.txt\n@@ -535,18 +535,18 @@ with the associated patches use the more complex (and much more\n powerful)\n\n ----------------\n-$ git-whatchanged -p --root\n+$ git-whatchanged -p\n ----------------\n\n and you will see exactly what has changed in the repository over its\n short history.\n\n [NOTE]\n-The `\\--root` flag is a flag to `git-diff-tree` to tell it to\n-show the initial aka 'root' commit too. Normally you'd probably not\n-want to see the initial import diff, but since the tutorial project\n-was started from scratch and is so small, we use it to make the result\n-a bit more interesting.\n+When using the above two commands, the initial commit will be shown.\n+If this is a problem because it is huge, you can hide it by setting\n+the log.showroot configuration variable to false. Having this, you\n+can still show it for each command just adding the `\\--root` option,\n+which is a flag for `git-diff-tree` accepted by both commands.\n\n With that, you should now be having some inkling of what git does, and\n can explore on your own.\n-- \n1.5.3.4\n"},{"id":"74051","messageId":"7vwsn6vv38.fsf@gitster.siamese.dyndns.org","threadId":"13042","inReplyTo":"47FD5A77.6000901@gmail.com","subject":"Re: [PATCH] core-tutorial.txt: Fix showing the current behaviour.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-04-10T10:54:19Z","receivedAt":"2008-04-10T10:54:19Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.  Both documentation patches applied but I ran out of time so won't\nbe pushing the result out, not just yet.\n"}]}