[git-users] Re: listing what files were changed in commit

2010-03-19 Thread Marek Wywiał


On 19 Mar, 15:18, Marek Wywiał  wrote:
> On 19 Mar, 11:22, Marcin Krol  wrote:
>
> > Hello,
>
> > I can list patches using git log -p. But sometimes that's too detailed
> > and I just would like to display a list of files that were affected in a
> > given commit.
>
> > Is there some way to do it?
>
> sure,
>  * git log -p --name-only

you can also remove all other information by:
 *   --pretty="format:"

f.e.:
 *  git show --pretty="format:" --name-only bd61ad98
 *  git --pretty="format:" --name-only

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: listing what files were changed in commit

2010-03-19 Thread Marek Wywiał


On 19 Mar, 11:22, Marcin Krol  wrote:
> Hello,
>
> I can list patches using git log -p. But sometimes that's too detailed
> and I just would like to display a list of files that were affected in a
> given commit.
>
> Is there some way to do it?

sure,
 * git log -p --name-only

:)

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.