diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2009-10-08 18:46:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-08 22:17:07 -0700 |
commit | ebfbdb340ad9a1b6fbaf91464f0fd86643fdcb46 (patch) | |
tree | fe43a12c16d2a81d3096eb0d8c805e9741b941b0 /Documentation/RelNotes-1.6.2.3.txt | |
parent | fast-import.c::validate_raw_date(): really validate the value (diff) | |
download | tgif-ebfbdb340ad9a1b6fbaf91464f0fd86643fdcb46.tar.xz |
Git archive and trailing "/" in prefix
With --prefix=string that does not end with a slash, the top-level entries
are written out with the specified prefix as expected, but no paths in the
directories are added.
Fix this by adding the prefix in write_archive_entry() instead of letting
get_pathspec() and read_tree_recursive() pair; they are designed to only
handle prefixes that are path components.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.6.2.3.txt')
0 files changed, 0 insertions, 0 deletions