diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2022-05-28 16:11:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-30 23:07:22 -0700 |
commit | 237a1d138c4322a7e934f129dee02e2ea6a214cd (patch) | |
tree | 72146e883c5056136fdf0aabddd1160f9cf55747 /commit.c | |
parent | 23f2356fd902434a9b8e9e4cdae735f399c16ff0 (diff) |
archive: optionally add "virtual" files
With the `--add-virtual-file=<path>:<content>` option, `git archive` now
supports use cases where relatively trivial files need to be added that
do not exist on disk.
This will allow us to generate `.zip` files with generated content,
without having to add said content to the object database and without
having to write it out to disk.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
[jc: tweaked <path> handling]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions