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

Re: git-ls-files --added?

From: Björn Steinbrink <hidden>
Date: 2016-06-15 22:46:49

On 2009.05.25 11:31:42 +0400, Constantine Plotnikov wrote:
BTW git-diff won't work in situation when the directory was just
initialized and there were no commit. In that case added file = staged
file and it is possible to use git-ls-files.
You can use the object name of the empty tree with diff-* in that case,
that's what the pre-commit.sample hook does.

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