author | Shawn Pearce <spearce@spearce.org> | |
Sun, 5 Mar 2006 08:24:15 +0000 (03:24 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 5 Mar 2006 08:58:13 +0000 (00:58 -0800) | ||
commit | de84f99c12d1819479116685393afb1ebe99810b | |
tree | 6e30242eea2f8e51c936f11ea31ad4f839afb63a | tree | snapshot |
parent | 46444f514bf5a1df17885283634256a86fa11196 | commit | diff |
Add --temp and --stage=all options to checkout-index.
Sometimes it is convient for a Porcelain to be able to checkout all
unmerged files in all stages so that an external merge tool can be
executed by the Porcelain or the end-user. Using git-unpack-file
on each stage individually incurs a rather high penalty due to the
need to fork for each file version obtained. git-checkout-index -a
--stage=all will now do the same thing, but faster.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Sometimes it is convient for a Porcelain to be able to checkout all
unmerged files in all stages so that an external merge tool can be
executed by the Porcelain or the end-user. Using git-unpack-file
on each stage individually incurs a rather high penalty due to the
need to fork for each file version obtained. git-checkout-index -a
--stage=all will now do the same thing, but faster.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-checkout-index.txt | diff | blob | history | |
apply.c | diff | blob | history | |
cache.h | diff | blob | history | |
checkout-index.c | diff | blob | history | |
entry.c | diff | blob | history | |
read-tree.c | diff | blob | history | |
t/t2004-checkout-cache-temp.sh | [new file with mode: 0755] | blob |