git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log vs git diff vs --name-status
@ 2007-08-23  8:43 VMiklos
  2007-08-23  8:45 ` VMiklos
  0 siblings, 1 reply; 4+ messages in thread
From: VMiklos @ 2007-08-23  8:43 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

hi,

$ git diff HEAD --name-status
M       dir/foo1

then i commit this change, and git log says:

$ git log --name-status -1
commit c9128f447c614d5b085286d9d7e84a643fbaea92
Author: VMiklos <vmiklos@frugalware.org>
Date:   Thu Aug 23 10:41:38 2007 +0200

    foo

M       dir

only. no /foo1. also is the file is dir/subdir/file1, then only "M dir"
is shown. is this inconsistency expected?

yes, i know that using --stats this problem could go away, but i speak
about --name-status

thanks,
- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-24  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23  8:43 git log vs git diff vs --name-status VMiklos
2007-08-23  8:45 ` VMiklos
2007-08-23  9:33   ` Junio C Hamano
2007-08-24  8:58     ` VMiklos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).