git diff-files weirdness (bug?)

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

 



Hi,

I was investigating a bug in "stg refresh" failing with moved files
and noticed that it was caused by Git (HEAD pulled yesterday):

  git init
  touch a
  git add a
  git commit -m "test"
  git mv a b

These are OK:

  git diff-files -- a
  git diff-files -- b

These fail:

  git diff-files -- a b
  git diff-files -- a c

These are OK:

  git diff-files -- a b c
  git diff-files -- a b c d e
  git diff-files -- c d e
  ...

It looks like the two arguments command is a special case. Passing
"-q" doesn't make any difference.

Thanks.

-- 
Catalin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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