Thread (11 messages) flat view 11 messages, 6 authors, 2016-06-15

Re: How do I...

From: Thomas Glanzmann <hidden>
Date: 2016-06-15 22:41:56

hello,
How can I git a list of commits that have modified a particular file?
You have to parse the git-rev-list and look at every single commit. But
I think cogito as well as jit have a command to obtain that.
How can I output a list of the filename(s) modified by a particular
commit? (for example)
A commit is only a pointer to a tree, so you can't. But you can see what
files have changed between a parent (note: there are up to 16) and the
dir which is associated with the commit:

git-diff-tree <child> <parent>

So calling git-diff-tree for every parent should do what you want.

	Thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help