git log vs git diff vs --name-status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
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: pgpXZe54zzK6G.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux