Re: [PATCH 1/1] archive: learn to include submodules in output archive
- From
Stefan Beller <sbeller@google.com>
- Date
- Mar 13, 2017, 22:57 UTC
- Message-ID
- <CAGZ79kZbcLFJPUt3wGsYX-XgAO+xW1ZDGJqN-q=r8i5Zbv_tTw@mail.gmail.com>
- In-Reply-To
- <CAGZ79kZrbvJz+S434BmEA_qeMOUXHk60yDSwdcKef62-Bz8nyw@mail.gmail.com>
On Mon, Mar 13, 2017 at 3:12 PM, Stefan Beller <sbeller@google.com> wrote:
>> will recursively traverse submodules in the repository and >> consider their contents for inclusion in the output archive, subject to >> any pathspec filters.
git-archive pays attention to export-ignore and export-subst attribute as read from .gitattributes or $GIT_DIR/info/attributes
When recursing into submodules, we'd need to clarify if the attributes from the superproject or from the submodules are applied; or both.
Thanks, Stefan