author | Jonathan Nieder <jrnieder@gmail.com> | |
Thu, 1 Jul 2010 03:18:19 +0000 (22:18 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 Jul 2010 19:11:33 +0000 (12:11 -0700) | ||
commit | 334fba656b50c92345586970bc6b100a449e1fc5 | |
tree | d4d396eb7aa3f04ea616506bf67b486a11df6045 | tree | snapshot |
parent | 45e9a825edf9064ff76f6ff10357fdc79497f0eb | commit | diff |
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 <tree id> 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 <spearce@spearce.org>
Cc: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <tree id> 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 <spearce@spearce.org>
Cc: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fast-import.txt | diff | blob | history | |
fast-import.c | diff | blob | history | |
t/t9300-fast-import.sh | diff | blob | history |