[git-users] Re: Read GIT directory manualy

2013-08-27 Thread Boris Trivic
Thanks to all! 

My doubt is closed... I was searching on Google a lot of time but I was 
unable to find file that I can read to get list of changed files. Now I 
understand why :)

I am going to execute command and use result to show in app.


On Monday, August 26, 2013 11:22:53 PM UTC+2, Boris Trivic wrote:
>
> Hi everyone.
>
> I am programmer and I am developing some application connected to GIT. The 
> task is to get list of changed files in selected commit. I know how to read 
> list of commits:
>
> .git/log/HEAD
>
> I also know how to get changed files from console:
>
> git show --name-only f1b6aea266bc7053786439bed16a6571f8805a51
>
>
> But I am wondering if I can read some file or files to get same list ?
>
>
> Thanks in advance.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Re: Read GIT directory manualy

2013-08-26 Thread Thomas Ferris Nicolaisen
On Monday, August 26, 2013 11:22:53 PM UTC+2, Boris Trivic wrote:

> Hi everyone.
>
> I am programmer and I am developing some application connected to GIT. The 
> task is to get list of changed files in selected commit. I know how to read 
> list of commits:
>
> .git/log/HEAD
>

That is not the normal commit log. It's the 
reflog: https://www.kernel.org/pub/software/scm/git/docs/git-reflog.html

>
> I also know how to get changed files from console:
>
> git show --name-only f1b6aea266bc7053786439bed16a6571f8805a51
>
>
> But I am wondering if I can read some file or files to get same list ?
>

No. The list of commits and the involved files are well compressed inside 
of .git/objects in a myriad of pack-files, and the best way to sort through 
them is, well, Git itself.

What are you trying to achieve here? Perhaps someone has other ideas on how 
to solve your original problem.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.