All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael J Gruber <michaeljgruber+gmane@fastmail.fm>
To: git@vger.kernel.org
Subject: Re: how to list all files that will be comitted
Date: Wed, 25 Jun 2008 18:19:13 +0200	[thread overview]
Message-ID: <g3tr63$fqn$1@ger.gmane.org> (raw)
In-Reply-To: <644094BE-2835-41EF-B1B4-615B8A4BD509@gmail.com>

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

      parent reply	other threads:[~2008-06-25 16:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 15:31 how to list all files that will be comitted Rhodes, Kate
2008-06-25 15:57 ` Ian Hilt
2008-06-25 16:01   ` Rhodes, Kate
2008-06-25 16:14     ` Karl Hasselström
2008-06-25 16:16       ` Rhodes, Kate
2008-06-25 16:24     ` Ian Hilt
2008-06-25 16:14 ` Reece Dunn
2008-06-25 16:19 ` Michael J Gruber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g3tr63$fqn$1@ger.gmane.org' \
    --to=michaeljgruber+gmane@fastmail.fm \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.