diff options
author | John Keeping <john@keeping.me.uk> | 2013-06-23 15:58:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-23 14:22:28 -0700 |
commit | 62bfa11cc9a8cb0aacbba0aed503e85cdc6ba0a4 (patch) | |
tree | 0ebbf94776708bf731ba2fac78260f160cf5188c /contrib/rerere-train.sh | |
parent | fast-import: allow ls or filecopy of the root tree (diff) | |
download | tgif-62bfa11cc9a8cb0aacbba0aed503e85cdc6ba0a4.tar.xz |
fast-import: allow moving the root tree
Because fast-import.c::tree_content_remove does not check for the empty
path, it is not possible to move the root tree to a subdirectory.
Instead the error "Path not in branch" is produced (note the double
space where the empty path has been inserted).
Fix this by explicitly checking for the empty path and handling it.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/rerere-train.sh')
0 files changed, 0 insertions, 0 deletions