Skip to contentSkip to conversation

Documentation/git-archive.txt: Note attributes

PATCH In review [email protected] 3 participants 3 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/git-archive.txt: Note attributes

From: Roy Lee <[email protected]>

---
 Documentation/git-archive.txt |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
Documentation/git-archive.txt +16 -0
index 41cbf9c..96f5424 100644
@@ -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.
Signature · 1 line
1.6.1.3
#1 lore raw
Quoted 3 lines · [email protected] writes:

From: Roy Lee <[email protected]>

---

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.

Quoted 39 lines
 Documentation/git-archive.txt |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
Documentation/git-archive.txt +16 -0
index 41cbf9c..96f5424 100644
@@ -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.
Signature · 1 line
1.6.1.3
#2 lore raw
Quoted 8 lines · Junio C Hamano

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

From 272054237f204619ed934b764db485db97faa5c9 Mon Sep 17 00:00:00 2001
From: Roy Lee <[email protected]>
Date: Wed, 4 Mar 2009 00:49:29 +0800
Subject: [PATCH] Documentation/git-archive.txt: Note attributes

---
 Documentation/git-archive.txt |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
Documentation/git-archive.txt +17 -0
index 41cbf9c..5b3eb12 100644
@@ -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.
Signature · 1 line
1.6.1.3