git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Document the delta attribute

From
Nasser Grainawi <nasser@codeaurora.org>
Date
Oct 21, 2009, 17:11 UTC
Message-ID
<4ADF40CE.2060007@codeaurora.org>

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(-)
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
Message 1 of 1 in “Document the delta attribute”
  1. Document the delta attributeNasser Grainawi, Oct 21, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.