# git diff and getting a list of files which have diffs

3 messages from 2009-02-04 to 2009-02-05. Participants: Mark Ryden, Jon Loeliger.
Thread: https://gitlist.dev/t/17569

## Mark Ryden, 2009-02-04 22:35

Subject: git diff and getting a list of files which have diffs
Message-ID: <dac45060902041435m3f884475j7f359ee694048ee5@mail.gmail.com>
URL: https://gitlist.dev/e/dac45060902041435m3f884475j7f359ee694048ee5%40mail.gmail.com

```
Hello,
git diff shows the differneces between a tree and the working tree.
Is there a way to get only the list of file names that have such differences
without getting the differences themselves ?
Rgs,
Mark

```

## Jon Loeliger, 2009-02-04 22:39

Subject: Re: git diff and getting a list of files which have diffs
Message-ID: <498A1931.4000606@freescale.com>
URL: https://gitlist.dev/e/498A1931.4000606%40freescale.com
In-Reply-To: <dac45060902041435m3f884475j7f359ee694048ee5@mail.gmail.com>

```
Mark Ryden wrote:
> Hello,
> git diff shows the differneces between a tree and the working tree.
> Is there a way to get only the list of file names that have such differences
> without getting the differences themselves ?
> Rgs,
> Mark

--name-only ?

jdl

```

## Mark Ryden, 2009-02-05 07:40

Subject: Re: git diff and getting a list of files which have diffs
Message-ID: <dac45060902042340ja0ec57fq84ef33dc4a089a17@mail.gmail.com>
URL: https://gitlist.dev/e/dac45060902042340ja0ec57fq84ef33dc4a089a17%40mail.gmail.com
In-Reply-To: <498A1931.4000606@freescale.com>

```
Hello,
Yes ! Thanks!
Mark

On Thu, Feb 5, 2009 at 12:39 AM, Jon Loeliger <jdl@freescale.com> wrote:
> Mark Ryden wrote:
>>
>> Hello,
>> git diff shows the differneces between a tree and the working tree.
>> Is there a way to get only the list of file names that have such
>> differences
>> without getting the differences themselves ?
>> Rgs,
>> Mark
>
> --name-only ?
>
> jdl
>
>
>
>

```
