Skip to content

fast-import: handle empty paths better

John Keeping git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t9300: document fast-import empty path issuest/t9300-fast-import.sh+65 -00 replies
2/4fast-import: set valid mode on root tree in "ls"fast-import.c+2 -00 replies
3/4fast-import: allow ls or filecopy of the root treefast-import.c t/t9300-fast-import.sh+24 -150 replies
4/4fast-import: allow moving the root treefast-import.c t/t9300-fast-import.sh+15 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] fast-import: handle empty paths better

This series addressed Dave Abraham's recent bug report [1] about using fast-import's "ls" command with an empty path. I also found a couple of other places that do not handle the empty path when it can reasonably be interpreted as meaning the root tree object, which are also fixed here.

[1] http://article.gmane.org/gmane.comp.version-control.git/228586

John Keeping (4):
t9300: document fast-import empty path issues
fast-import: set valid mode on root tree in "ls"
fast-import: allow ls or filecopy of the root tree
fast-import: allow moving the root tree

 fast-import.c          | 58 ++++++++++++++++++++++++++++----------------
 t/t9300-fast-import.sh | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+), 20 deletions(-)
Signature · 1 line
1.8.3.1.676.gaae6535