read-tree: --prefix=<path>/ option.
authorJunio C Hamano <junkio@cox.net>
Sun, 15 Jan 2006 05:46:58 +0000 (21:46 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 2 May 2006 05:29:16 +0000 (22:29 -0700)
commitf4c6f2d328e2f30ad63fdfca26a5e4a11cef35bf
treeb394985c4b2c49d3eece7f129a94775080c9c168
parentcdc08b33ef3da0e963f9956e4a66f67cc3330f83
read-tree: --prefix=<path>/ option.

With "--prefix=<path>/" option, read-tree keeps the current
index contents, and reads the contents of named tree-ish under
directory at `<prefix>`.  The original index file cannot have
anything at the path `<prefix>` itself, and have nothing in
`<prefix>/` directory.  This can be used to graft an
independent tree into a subdirectory of the current index.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-read-tree.txt
read-tree.c