Subject: Re: how to list all files that will be comitted

From: Michael J Gruber <[email-masked]>
Date: Wed, 25 Jun 2008 18:19:13 +0200

Rhodes, Kate venit, vidit, dixit 25.06.2008 17:31:
> I know ls-files is the tool I need but I haven't been able to figure  
> out what combination of options will give me the files that have been  
> added to the index.

I don't think git ls-files does that, but

git diff --cached --name-only

will.

Cheers,
Michael