threads / patch / 21311

patchDocument the delta attribute

Subject: [PATCH] Document the delta attribute

## tl;dr

One message between Oct 21, 2009 and Oct 21, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Nasser Grainawi· Oct 21, 2009, 17:11 UTC · lore

After spending a bit of time searching through the pack-objects source I figured a small blurb of text documenting the existence of this attribute would be useful.

Feel free to enhance/improve/correct the text.
Nasser
Signed-off-by: Nasser Grainawi <nasser@codeaurora.org>
---
  Documentation/gitattributes.txt |   10 ++++++++++
  1 files changed, 10 insertions(+), 0 deletions(-)
Show changes to Documentation/gitattributes.txt +10 −0
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index 1195e83..132e7b3 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -577,6 +577,16 @@ If this attribute is not set or has an invalid value, the 
value of the
  (See linkgit:git-config[1]).


+Packing objects
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+`delta`
+^^^^^^^^^^
+
+Delta compression will not be attempted for files and directories with
+the attribute `delta` unset.
+
+
  USING ATTRIBUTE MACROS
  ----------------------
-- 
1.6.5

← back to recent threads