Hi Marcus,

Marcus Better wrote:
> Package: git-core
> Version: 1:1.6.0.6-1
> Severity: wishlist
>
> The checkout-index command is frequently useful but is missing from
> shell completion.

Hmm, checkout-index is intended more as a building block in scripts.
If you end up needing to rely on checkout-index frequently, that means
the user-level commands like 'git checkout' probably need some
improvement.  With the checkout-index command, as the manual says,
"Intuitiveness is not the goal here.  Repeatability is", so other
commands to do the same things are very useful. :)

I assume you use checkout-index for the --prefix=<dest>/ option?  In
that case, why use that instead of the following?

        git archive HEAD | (cd <dest> && tar xf -)

I am genuinely curious; I have needed that functionality before and
been too intimidated to use 'git checkout-index' for fear I might
misunderstand the semantics.

Looking forward to your thoughts,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to