From: Jonathan Nieder Date: Thu, 1 Jul 2010 03:18:19 +0000 (-0500) Subject: Teach fast-import to import subtrees named by tree id X-Git-Tag: v1.7.3-rc0~75^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/334fba656b50c92345586970bc6b100a449e1fc5?hp=334fba656b50c92345586970bc6b100a449e1fc5 Teach fast-import to import subtrees named by tree id To simulate the svn cp command, it would be very useful to be replace an arbitrary file in the current revision by an arbitrary directory from a previous one. Modify the filemodify command to allow that: M 040000 pathname This would be most useful in combination with a facility to print the commit ids for new revisions as they are written. Cc: Shawn O. Pearce Cc: Sverre Rabbelier Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---