{"thread":{"id":"18113","subject":"[PATCH] Documentation/git-archive.txt: Note attributes","startedAt":"2009-03-03T16:52:48Z","lastAt":"2009-03-03T18:50:34Z","messageCount":3,"participants":["roylee@andestech.com","Junio C Hamano","Roy Lee"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"106886","messageId":"1236099168-20231-1-git-send-email-roylee@andestech.com","threadId":"18113","inReplyTo":null,"subject":"[PATCH] Documentation/git-archive.txt: Note attributes","fromName":"","fromEmail":"roylee@andestech.com","sentAt":"2009-03-03T16:52:48Z","receivedAt":"2009-03-03T16:52:48Z","isPatch":true,"sender":{"key":"roylee@andestech.com","avatar":null},"body":"From: Roy Lee <roylee17@gmail.com>\n\n---\n Documentation/git-archive.txt |   16 ++++++++++++++++\n 1 files changed, 16 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt\nindex 41cbf9c..96f5424 100644\n--- a/Documentation/git-archive.txt\n+++ b/Documentation/git-archive.txt\n@@ -88,6 +88,17 @@ tar.umask::\n \tarchiving user's umask will be used instead.  See umask(2) for\n \tdetails.\n \n+ATTRIBUTES\n+----------------\n+\n+export-ignore::\n+\tFiles and directories with the attribute export-ignore won't be added to archive files.\n+\tSee linkgit:gitattributes[5] for details.\n+\n+export-subst::\n+\tIf the attribute export-subst is set for a file then git will expand several placeholders when adding this file\n+\tto an archive.  See linkgit:gitattributes[5] for details.\n+\n EXAMPLES\n --------\n git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::\n@@ -110,6 +121,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs\n \tPut everything in the current head's Documentation/ directory\n \tinto 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.\n \n+\n+SEE ALSO\n+--------\n+linkgit:gitattributes[5]\n+\n Author\n ------\n Written by Franck Bui-Huu and Rene Scharfe.\n-- \n1.6.1.3\n"},{"id":"106906","messageId":"7vab82bgxv.fsf@gitster.siamese.dyndns.org","threadId":"18113","inReplyTo":"1236099168-20231-1-git-send-email-roylee@andestech.com","subject":"Re: [PATCH] Documentation/git-archive.txt: Note attributes","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-03-03T18:27:08Z","receivedAt":"2009-03-03T18:27:08Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"roylee@andestech.com writes:\n\n> From: Roy Lee <roylee17@gmail.com>\n>\n> ---\n\nPlease add a sign-off.  What the patch text says looks perfect, even\nthough the lines are too long and would better be rewrapped and the lines\nunder ATTRIBUTES must match the length of the word it underlines (this is\ntext marked-up with asciidoc, not just freeform).\n\nThanks.\n\n>  Documentation/git-archive.txt |   16 ++++++++++++++++\n>  1 files changed, 16 insertions(+), 0 deletions(-)\n>\n> diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt\n> index 41cbf9c..96f5424 100644\n> --- a/Documentation/git-archive.txt\n> +++ b/Documentation/git-archive.txt\n> @@ -88,6 +88,17 @@ tar.umask::\n>  \tarchiving user's umask will be used instead.  See umask(2) for\n>  \tdetails.\n>  \n> +ATTRIBUTES\n> +----------------\n> +\n> +export-ignore::\n> +\tFiles and directories with the attribute export-ignore won't be added to archive files.\n> +\tSee linkgit:gitattributes[5] for details.\n> +\n> +export-subst::\n> +\tIf the attribute export-subst is set for a file then git will expand several placeholders when adding this file\n> +\tto an archive.  See linkgit:gitattributes[5] for details.\n> +\n>  EXAMPLES\n>  --------\n>  git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::\n> @@ -110,6 +121,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs\n>  \tPut everything in the current head's Documentation/ directory\n>  \tinto 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.\n>  \n> +\n> +SEE ALSO\n> +--------\n> +linkgit:gitattributes[5]\n> +\n>  Author\n>  ------\n>  Written by Franck Bui-Huu and Rene Scharfe.\n> -- \n> 1.6.1.3\n"},{"id":"106910","messageId":"6eac7f470903031050q3e3e4ad2je6035aef67f42f7b@mail.gmail.com","threadId":"18113","inReplyTo":"7vab82bgxv.fsf@gitster.siamese.dyndns.org","subject":"Re: [PATCH] Documentation/git-archive.txt: Note attributes","fromName":"Roy Lee","fromEmail":"roylee17@gmail.com","sentAt":"2009-03-03T18:50:34Z","receivedAt":"2009-03-03T18:50:34Z","isPatch":true,"sender":{"key":"roylee17@gmail.com","avatar":null},"body":"On Wed, Mar 4, 2009 at 2:27 AM, Junio C Hamano <gitster@pobox.com> wrote:\n>\n> Please add a sign-off.  What the patch text says looks perfect, even\n> though the lines are too long and would better be rewrapped and the lines\n> under ATTRIBUTES must match the length of the word it underlines (this is\n> text marked-up with asciidoc, not just freeform).\n>\n> Thanks.\n>\n\nThanks for the comment. Here's the revised patch.\n\nRegards,\nRoy\n\n\nFrom 272054237f204619ed934b764db485db97faa5c9 Mon Sep 17 00:00:00 2001\nFrom: Roy Lee <roylee17@gmail.com>\nDate: Wed, 4 Mar 2009 00:49:29 +0800\nSubject: [PATCH] Documentation/git-archive.txt: Note attributes\n\n\nSigned-off-by: Roy Lee <roylee17@gmail.com>\n---\n Documentation/git-archive.txt |   17 +++++++++++++++++\n 1 files changed, 17 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt\nindex 41cbf9c..5b3eb12 100644\n--- a/Documentation/git-archive.txt\n+++ b/Documentation/git-archive.txt\n@@ -88,6 +88,18 @@ tar.umask::\n \tarchiving user's umask will be used instead.  See umask(2) for\n \tdetails.\n \n+ATTRIBUTES\n+----------\n+\n+export-ignore::\n+\tFiles and directories with the attribute export-ignore won't be\n+\tadded to archive files.  See linkgit:gitattributes[5] for details.\n+\n+export-subst::\n+\tIf the attribute export-subst is set for a file then git will\n+\texpand several placeholders when adding this file to an archive.\n+\tSee linkgit:gitattributes[5] for details.\n+\n EXAMPLES\n --------\n git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::\n@@ -110,6 +122,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs\n \tPut everything in the current head's Documentation/ directory\n \tinto 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.\n \n+\n+SEE ALSO\n+--------\n+linkgit:gitattributes[5]\n+\n Author\n ------\n Written by Franck Bui-Huu and Rene Scharfe.\n-- \n1.6.1.3\n\n"}]}