Thread (21 messages) flat view 21 messages, 3 authors, 2016-06-15
STALE3735d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

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

From: Nguyễn Thái Ngọc Duy <hidden>
Date: 2016-06-15 22:46:34

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(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help