From: "Rhodes, Kate" <masukomi@gmail.com>
To: "Karl Hasselström" <kha@treskal.com>
Cc: Ian Hilt <Ian.Hilt@gmx.com>, git@vger.kernel.org
Subject: Re: how to list all files that will be comitted
Date: Wed, 25 Jun 2008 12:16:28 -0400 [thread overview]
Message-ID: <54450C0E-1AC8-4CE8-919C-8326ACC588EB@gmail.com> (raw)
In-Reply-To: <20080625161439.GA1794@diana.vm.bytemark.co.uk>
Perfect, exactly what I wanted. Thanks.
-Kate
On Jun 25, 2008, at 12:14 PM, Karl Hasselström wrote:
> On 2008-06-25 12:01:49 -0400, Rhodes, Kate wrote:
>
>> yeah, but i was hoping for plumbing, not porcelain, that showed just
>> what i wanted so that i didn't have to parse status' output.
>
> Unless you want a listing of all the files in the index, you probably
> want to call diff-index.
>
> git diff-index --cached <tree-ish>
>
> gives you the diff between the index and a tree-ish. With the
> --name-only option, you get only the filenames and not all the modes,
> blob sha1s, etc.
>
> --
> Karl Hasselström, kha@treskal.com
> www.treskal.com/kalle
next prev parent reply other threads:[~2008-06-25 16:17 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 [this message]
2008-06-25 16:24 ` Ian Hilt
2008-06-25 16:14 ` Reece Dunn
2008-06-25 16:19 ` Michael J Gruber
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=54450C0E-1AC8-4CE8-919C-8326ACC588EB@gmail.com \
--to=masukomi@gmail.com \
--cc=Ian.Hilt@gmx.com \
--cc=git@vger.kernel.org \
--cc=kha@treskal.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).