* [PATCH] Documentation/git-archive.txt: Note attributes
@ 2009-03-03 16:52 roylee
2009-03-03 18:27 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: roylee @ 2009-03-03 16:52 UTC (permalink / raw)
To: git; +Cc: Roy Lee
From: Roy Lee <roylee17@gmail.com>
---
Documentation/git-archive.txt | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 41cbf9c..96f5424 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -88,6 +88,17 @@ tar.umask::
archiving user's umask will be used instead. See umask(2) for
details.
+ATTRIBUTES
+----------------
+
+export-ignore::
+ Files and directories with the attribute export-ignore won't be added to archive files.
+ See linkgit:gitattributes[5] for details.
+
+export-subst::
+ If the attribute export-subst is set for a file then git will expand several placeholders when adding this file
+ to an archive. See linkgit:gitattributes[5] for details.
+
EXAMPLES
--------
git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
@@ -110,6 +121,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs
Put everything in the current head's Documentation/ directory
into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
+
+SEE ALSO
+--------
+linkgit:gitattributes[5]
+
Author
------
Written by Franck Bui-Huu and Rene Scharfe.
--
1.6.1.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/git-archive.txt: Note attributes
2009-03-03 16:52 [PATCH] Documentation/git-archive.txt: Note attributes roylee
@ 2009-03-03 18:27 ` Junio C Hamano
2009-03-03 18:50 ` Roy Lee
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2009-03-03 18:27 UTC (permalink / raw)
To: roylee; +Cc: git, Roy Lee
roylee@andestech.com writes:
> From: Roy Lee <roylee17@gmail.com>
>
> ---
Please add a sign-off. What the patch text says looks perfect, even
though the lines are too long and would better be rewrapped and the lines
under ATTRIBUTES must match the length of the word it underlines (this is
text marked-up with asciidoc, not just freeform).
Thanks.
> Documentation/git-archive.txt | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
> index 41cbf9c..96f5424 100644
> --- a/Documentation/git-archive.txt
> +++ b/Documentation/git-archive.txt
> @@ -88,6 +88,17 @@ tar.umask::
> archiving user's umask will be used instead. See umask(2) for
> details.
>
> +ATTRIBUTES
> +----------------
> +
> +export-ignore::
> + Files and directories with the attribute export-ignore won't be added to archive files.
> + See linkgit:gitattributes[5] for details.
> +
> +export-subst::
> + If the attribute export-subst is set for a file then git will expand several placeholders when adding this file
> + to an archive. See linkgit:gitattributes[5] for details.
> +
> EXAMPLES
> --------
> git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
> @@ -110,6 +121,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs
> Put everything in the current head's Documentation/ directory
> into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
>
> +
> +SEE ALSO
> +--------
> +linkgit:gitattributes[5]
> +
> Author
> ------
> Written by Franck Bui-Huu and Rene Scharfe.
> --
> 1.6.1.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/git-archive.txt: Note attributes
2009-03-03 18:27 ` Junio C Hamano
@ 2009-03-03 18:50 ` Roy Lee
0 siblings, 0 replies; 3+ messages in thread
From: Roy Lee @ 2009-03-03 18:50 UTC (permalink / raw)
To: Junio C Hamano; +Cc: roylee, git
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
On Wed, Mar 4, 2009 at 2:27 AM, Junio C Hamano <gitster@pobox.com> wrote:
>
> Please add a sign-off. What the patch text says looks perfect, even
> though the lines are too long and would better be rewrapped and the lines
> under ATTRIBUTES must match the length of the word it underlines (this is
> text marked-up with asciidoc, not just freeform).
>
> Thanks.
>
Thanks for the comment. Here's the revised patch.
Regards,
Roy
[-- Attachment #2: 0001-Documentation-git-archive.txt-Note-attributes.patch --]
[-- Type: application/octet-stream, Size: 1471 bytes --]
From 272054237f204619ed934b764db485db97faa5c9 Mon Sep 17 00:00:00 2001
From: Roy Lee <roylee17@gmail.com>
Date: Wed, 4 Mar 2009 00:49:29 +0800
Subject: [PATCH] Documentation/git-archive.txt: Note attributes
Signed-off-by: Roy Lee <roylee17@gmail.com>
---
Documentation/git-archive.txt | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 41cbf9c..5b3eb12 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -88,6 +88,18 @@ tar.umask::
archiving user's umask will be used instead. See umask(2) for
details.
+ATTRIBUTES
+----------
+
+export-ignore::
+ Files and directories with the attribute export-ignore won't be
+ added to archive files. See linkgit:gitattributes[5] for details.
+
+export-subst::
+ If the attribute export-subst is set for a file then git will
+ expand several placeholders when adding this file to an archive.
+ See linkgit:gitattributes[5] for details.
+
EXAMPLES
--------
git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
@@ -110,6 +122,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs
Put everything in the current head's Documentation/ directory
into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
+
+SEE ALSO
+--------
+linkgit:gitattributes[5]
+
Author
------
Written by Franck Bui-Huu and Rene Scharfe.
--
1.6.1.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-03 18:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 16:52 [PATCH] Documentation/git-archive.txt: Note attributes roylee
2009-03-03 18:27 ` Junio C Hamano
2009-03-03 18:50 ` Roy Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).