diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-14 11:40:57 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-26 12:56:45 -0700 |
| commit | 72c282098d27ee7252a431fc93dfe0f271242ed8 (patch) | |
| tree | ceb269a428d415558f12f5e19d78e85f089dddca /builtin/commit-tree.c | |
| parent | Git 2.43 (diff) | |
| download | git-72c282098d27ee7252a431fc93dfe0f271242ed8.tar.gz git-72c282098d27ee7252a431fc93dfe0f271242ed8.zip | |
archive: document that --add-virtual-file takes full path
Tom Scogland noticed that `--add-virtual-file` option uses the path
specified as its value as-is, without prepending any value given to
the `--prefix` option like `--add-file` does.
The behaviour has always been that way since the option was
introduced, but the documentation has always been wrong and said
that it would use the value of `--prefix` just like `--add-file`
does.
We could modify the behaviour to make it literally work like the
documentation said, but it would break existing scripts the users
use.
Noticed-by: Tom Scogland <scogland1@llnl.gov>
Acked-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
