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

[PATCH 0/8] support "in-tree attributes" for git-archive

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Apr 8, 2009, 10:05 UTC
Message-ID
<1239185133-4181-1-git-send-email-pclouds@gmail.com>

This series attempts to fix "git archive" sometimes looking into .gitattributes in working directory and may cause undesired effects.

Nguyễn Thái Ngọc Duy (8):
  archive: add shortcuts for --format and --prefix
This one is unrelated. Just a convenient patch.
  move prune_cache() to git lib
  archive: add a failure test wrt .gitattributes  misreading
  archive: add tests for directory selection
  attr: add GIT_ATTR_INDEX "direction"
  archive: use index instead of parsing tree directly
  archive: disregard .gitattributes on working directory
Main part, which converts archive.c to load index first, then export from there.
  archive: support creating archives from index
Well, show off patch ;-)
 Documentation/git-archive.txt |    4 +-
 archive.c                     |  106 +++++++++++++++++++++++++++++++----------
 archive.h                     |    1 +
 attr.c                        |    4 +-
 attr.h                        |    3 +-
 builtin-ls-files.c            |   29 +-----------
 cache.h                       |    2 +
 read-cache.c                  |   27 ++++++++++
 t/t0024-crlf-archive.sh       |   35 +++++++++++++-
 t/t5000-tar-tree.sh           |    6 ++-
 10 files changed, 158 insertions(+), 59 deletions(-)
Next: Nguyễn Thái Ngọc Duy
Message 1 of 24 in “support "in-tree attributes" for git-archive”
  1. 0/8 support "in-tree attributes" for git-archiveNguyễn Thái Ngọc Duy, Apr 8, 2009
  2. 1/8 archive: add shortcuts for --format and --prefixNguyễn Thái Ngọc Duy, Apr 8, 2009
  3. 2/8 move prune_cache() to git libNguyễn Thái Ngọc Duy, Apr 8, 2009
  4. 3/8 archive: add a failure test wrt .gitattributes misreadingNguyễn Thái Ngọc Duy, Apr 8, 2009
  5. 4/8 archive: add tests for directory selectionNguyễn Thái Ngọc Duy, Apr 8, 2009
  6. 5/8 attr: add GIT_ATTR_INDEX "direction"Nguyễn Thái Ngọc Duy, Apr 8, 2009
  7. 6/8 archive: use index instead of parsing tree directlyNguyễn Thái Ngọc Duy, Apr 8, 2009
  8. 7/8 archive: disregard .gitattributes on working directoryNguyễn Thái Ngọc Duy, Apr 8, 2009
  9. 8/8 archive: support creating archives from indexNguyễn Thái Ngọc Duy, Apr 8, 2009
  10. René ScharfeApr 8, 2009
  11. Junio C HamanoApr 8, 2009
  12. Junio C HamanoApr 8, 2009
  13. René ScharfeApr 8, 2009
  14. René ScharfeApr 8, 2009
  15. René ScharfeApr 8, 2009
  16. Junio C HamanoApr 8, 2009
  17. René ScharfeApr 13, 2009
  18. Nguyen Thai Ngoc DuyApr 14, 2009
  19. René ScharfeApr 14, 2009
  20. Junio C HamanoApr 16, 2009
  21. René ScharfeApr 17, 2009
  22. Junio C HamanoApr 18, 2009
  23. Junio C HamanoApr 8, 2009
  24. René ScharfeApr 8, 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.