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 /commit.h | |
parent | 564d0252ca632e0264ed670534a51d18a689ef5d (diff) |
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 'commit.h')
0 files changed, 0 insertions, 0 deletions